+++ /dev/null
---- m2crypto-0.11/M2Crypto/SMIME.py.wiget 2002-12-23 04:48:35.000000000 +0100
-+++ m2crypto-0.11/M2Crypto/SMIME.py 2003-10-08 16:18:10.682936771 +0200
-@@ -54,6 +54,9 @@
- def write_der(self, bio):
- return m2.pkcs7_write_bio_der(self.pkcs7, bio._ptr())
-
-+ def get0_signers(self, certs, flags = 0):
-+ return X509.X509_Stack(m2.pkcs7_get0_signers(self.pkcs7, certs.stack, flags), 1)
-+
-
- def load_pkcs7(p7file):
- bio = m2.bio_new_file(p7file, 'r')
---- m2crypto-0.11/SWIG/_pkcs7.i.wiget 2003-10-08 16:24:43.072269817 +0200
-+++ m2crypto-0.11/SWIG/_pkcs7.i 2003-10-08 16:25:00.601515310 +0200
-@@ -170,5 +170,10 @@
- int smime_crlf_copy(BIO *in, BIO *out) {
- return SMIME_crlf_copy(in, out, PKCS7_TEXT);
- }
-+
-+/* return STACK_OF(X509)* */
-+STACK *pkcs7_get0_signers(PKCS7 *p7, STACK *certs, int flags) {
-+ return PKCS7_get0_signers(p7,certs,flags);
-+}
- %}
-
+++ /dev/null
---- m2crypto-0.11/M2Crypto/SMIME.py.wiget 2002-12-23 04:48:35.000000000 +0100
-+++ m2crypto-0.11/M2Crypto/SMIME.py 2003-09-16 13:36:00.000000000 +0200
-@@ -4,7 +4,7 @@
-
- RCS_id='$Id$'
-
--import BIO, EVP, X509, Err
-+import BIO, EVP, X509, Err, util
- import m2
-
- PKCS7_TEXT = m2.PKCS7_TEXT
-@@ -117,16 +117,16 @@
- m2.smime_init(SMIME_Error)
-
- class SMIME:
-- def load_key(self, keyfile, certfile=None):
-+ def load_key(self, keyfile, certfile=None, callback=util.passphrase_callback):
- if certfile is None:
- certfile = keyfile
-- self.pkey = EVP.load_key(keyfile)
-+ self.pkey = EVP.load_key(keyfile, callback)
- self.x509 = X509.load_cert(certfile)
-
-- def load_key_bio(self, keybio, certbio=None):
-+ def load_key_bio(self, keybio, certbio=None, callback=util.passphrase_callback):
- if certbio is None:
- certbio = keybio
-- self.pkey = EVP.load_key_bio(keybio)
-+ self.pkey = EVP.load_key_bio(keybio, callback)
- self.x509 = X509.load_cert_bio(certbio)
-
- def set_x509_stack(self, stack):