diff options
-rw-r--r-- | bigtop-packages/src/common/hue/patch1-HUE-fix-to-allow-build-with-OpenSSL-1.0.2a.diff | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bigtop-packages/src/common/hue/patch1-HUE-fix-to-allow-build-with-OpenSSL-1.0.2a.diff b/bigtop-packages/src/common/hue/patch1-HUE-fix-to-allow-build-with-OpenSSL-1.0.2a.diff new file mode 100644 index 00000000..bfbc3387 --- /dev/null +++ b/bigtop-packages/src/common/hue/patch1-HUE-fix-to-allow-build-with-OpenSSL-1.0.2a.diff @@ -0,0 +1,32 @@ +From a2d51acd03fe1c3d6aab71ebbeff65f384f3d0e0 Mon Sep 17 00:00:00 2001 +From: Chris Stephens <cjstep@users.noreply.github.com> +Date: Wed, 15 Jul 2015 11:02:24 -0700 +Subject: [PATCH] Fix to allow build w/ OpenSSL >= 1.0.2a + +This fix allows pyopenssl == 0.13 build against OpenSSL library headers >= 1.0.2a. + +More information can be found here: + +https://github.com/cloudera/hue/issues/205 + +Let me know if you have any questions! + +Chris Stephens +Netflix, Inc +--- + desktop/core/ext-py/pyopenssl/OpenSSL/crypto/crl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/desktop/core/ext-py/pyopenssl/OpenSSL/crypto/crl.c b/desktop/core/ext-py/pyopenssl/OpenSSL/crypto/crl.c +index eec5bcb..b2fd681 100644 +--- a/desktop/core/ext-py/pyopenssl/OpenSSL/crypto/crl.c ++++ b/desktop/core/ext-py/pyopenssl/OpenSSL/crypto/crl.c +@@ -3,7 +3,7 @@ + #include "crypto.h" + + +-static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) { ++X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) { + X509_REVOKED *dupe = NULL; + + dupe = X509_REVOKED_new(); |