Repository navigation
Expose OP_NO_TLSv1_3 - #861
Merged
Merged
Conversation
alex
reviewed
Aug 2, 2019
| OP_NO_TLSv1 = _lib.SSL_OP_NO_TLSv1 | ||
| OP_NO_TLSv1_1 = _lib.SSL_OP_NO_TLSv1_1 | ||
| OP_NO_TLSv1_2 = _lib.SSL_OP_NO_TLSv1_2 | ||
| OP_NO_TLSv1_3 = _lib.SSL_OP_NO_TLSv1_3 |
Member
There was a problem hiding this comment.
This symbol isn't going to exist on OpenSSL<1.1.1
Contributor
Author
There was a problem hiding this comment.
Cryptography already handles that case for us:
Member
|
`_conditional.py` then removes it.
…On Fri, Aug 2, 2019 at 12:17 AM Nathaniel J. Smith ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/OpenSSL/SSL.py
<#861 (comment)>:
> @@ -139,6 +140,7 @@ class _buffer(object):
OP_NO_TLSv1 = _lib.SSL_OP_NO_TLSv1
OP_NO_TLSv1_1 = _lib.SSL_OP_NO_TLSv1_1
OP_NO_TLSv1_2 = _lib.SSL_OP_NO_TLSv1_2
+OP_NO_TLSv1_3 = _lib.SSL_OP_NO_TLSv1_3
Cryptography already handles that case for us:
https://github.com/pyca/cryptography/blob/c7681e80a68a97ba56453e7fbb960f0e59f4acad/src/_cffi_src/openssl/ssl.py#L839-L841
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#861?email_source=notifications&email_token=AAAAGBEB7T5XJW6OK6JCQM3QCOYNZA5CNFSM4II2G6OKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCALYTXY#discussion_r309976427>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAAGBC2RHORFXO4FDTE42LQCOYNZANCNFSM4II2G6OA>
.
--
All that is necessary for evil to succeed is for good people to do nothing.
|
Contributor
Author
|
Oh, that's annoying. I even checked that |
alex
approved these changes
Aug 2, 2019
Contributor
Author
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #624