]> git.pld-linux.org Git - packages/python-M2Crypto.git/commitdiff
- orphaned, outdated
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2006 23:40:20 +0000 (23:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    M2Crypto-pkcs7_get0_signers.patch -> 1.2
    M2Crypto-smime_callback.patch -> 1.2

M2Crypto-pkcs7_get0_signers.patch [deleted file]
M2Crypto-smime_callback.patch [deleted file]

diff --git a/M2Crypto-pkcs7_get0_signers.patch b/M2Crypto-pkcs7_get0_signers.patch
deleted file mode 100644 (file)
index 2e9776f..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- 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);
-+}
- %}
diff --git a/M2Crypto-smime_callback.patch b/M2Crypto-smime_callback.patch
deleted file mode 100644 (file)
index 10dd59c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
---- 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):
This page took 0.119684 seconds and 4 git commands to generate.