Repository navigation
OpenSSL 1.1.0 support - #2826
Conversation
|
By analyzing the blame information on this pull request, we identified @cyli, @alex and @MiWCryptAnalytics to be potential reviewers |
Current coverage is
|
|
@reaperhulk Does pyOpenSSL 16 work ok with this PR, or do other things need to land there first? |
|
We need to opaque the SSL structs still, so pyOpenSSL 16.0.0 will break with this PR. I'm going to start doing that shortly so we can potentially do a 16.1.0 that will be fully compatible with this. |
|
Sounds like a plan 👍 |
|
needs more rebase |
8f71d73 to
798e665
Compare
|
The final "remove old bindings" PR should be in a seperate PR from the "use new 1.1.0 APIs" PR. |
c5e911f to
a7b71c6
Compare
|
@reaperhulk We can start landing parts of this as soon as pyOpenSSL releases 16.1.0 right? |
|
Yes |
| MACROS = """ | ||
| /* CRYPTO_cleanup_all_ex_data became a macro in 1.1.0 */ | ||
| void CRYPTO_cleanup_all_ex_data(void); | ||
|
|
There was a problem hiding this comment.
Since this is a noop, can you remove it from this PR?
|
This needs a rebase now. |
| void X509_CRL_get0_signature(const X509_CRL *, const ASN1_BIT_STRING **, | ||
| const X509_ALGOR **); | ||
| void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, | ||
| const X509_ALGOR **palg); |
There was a problem hiding this comment.
(This is a mistake in rebase, but I'll fix it when we squash this whole thing for the final PR review)
| fi | ||
| if [[ "${OPENSSL}" == "1.1.0" ]]; then | ||
| OPENSSL_VERSION_NUMBER="1.1.0" | ||
| OPENSSL_DIR="ossl-110" |
There was a problem hiding this comment.
This dir should be added to the cache
|
Please add a changelog entry |
|
jenkins, retest this please. |
|
|
||
| static const int CRYPTOGRAPHY_OPENSSL_LESS_THAN_101; | ||
|
|
||
| static const int CRYPTOGRAPHY_OPENSSL_110_OR_GREATER; |
There was a problem hiding this comment.
Nit, can you organize this below CRYPTOGRAPHY_OPENSSL_101_OR_GREATER (same structure as the previous section)
This PR makes the final changes required to compile against OpenSSL 1.1.0. It must not be merged until after the thirteenth release to avoid breaking pyOpenSSL.