meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl-0.13/x509_revoked_dup.patch
Andreas Oberritter 6a0641398d python-pyopenssl: Downgrade to 0.13
Version 0.14 depends python-cryptography, which is
currently unavailable in meta-openembedded.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:49 +02:00

20 lines
583 B
Diff

diff -Naur pyOpenSSL-0.13.orig/OpenSSL/crypto/crl.c pyOpenSSL-0.13/OpenSSL/crypto/crl.c
--- pyOpenSSL-0.13.orig/OpenSSL/crypto/crl.c 2011-09-02 17:46:13.000000000 +0200
+++ pyOpenSSL-0.13/OpenSSL/crypto/crl.c 2015-03-26 20:53:08.984999223 +0100
@@ -3,6 +3,7 @@
#include "crypto.h"
+#if 0
static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
X509_REVOKED *dupe = NULL;
@@ -32,6 +33,7 @@
dupe->sequence = orig->sequence;
return dupe;
}
+#endif
static char crypto_CRL_get_revoked_doc[] = "\n\
Return revoked portion of the CRL structure (by value\n\