-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyOpenSSL == 0.13 won't build against newer versions (>= 1.0.2a) of OpenSSL headers / libs #205
Comments
Good to know! I assume it will still compile with < OpenSSL 1.0.2a? @erickt tried to upgrade it recently to 0.13.1 and got some issues and went back to 0.13: https://issues.cloudera.org/browse/HUE-2814 I would say patching pyOpenSSL now is probably the best/quickest until we up to 0.14 or more! |
With this change (the "static" modifier on "X509_REVOKED_dup()" removed), pyopenssl builds fine for me against OpenSSL 0.9.8y. Submitting a pull request now. |
Thx... |
Hi, thanks for this hack @c6stephens. Just for the record, in case it helps somebody. Here's the steps to install mkdir build
cd build
pip download pyOpenSSL==0.13
tar xzf pyOpenSSL-0.13.tar.gz
cd pyOpenSSL-0.13 From here you can either apply the patch made by @c6stephens or edit the file manually (for example: pip install --no-clean . And voilà. You now have an old pyOpenSSL version working in your python environment! |
If anyone is looking to automate @meGAmeS1 's fix. Use the following patch:
Save as
To summarize:
|
There is a known issue where pyOpenSSL == 0.13 will not build against newer (>= 1.0.2a) versions of OpenSSL.
This was because of a change to the x509.h header that declared the X509_REVOKED_dup() function (that appears to have been merged in only after OpenSSL 1.0.1).
I ran into this issue while building Hue on Mac OS Yosemite with an upgraded version of OpenSSL. (I'm putting together a Homebrew package.)
pyOpenSSL >= 0.14 doesn't have this problem.
Also, patching pyOpenSSL == 0.13 is pretty easy:
I'm happy to submit a pull request! I thought I'd check first to see if a pyOpenSSL upgrade is in the works.
Chris Stephens
Netflix, Inc
The text was updated successfully, but these errors were encountered: