Skip to content

Commit

Permalink
accept the fact that nothing can be taken for granted
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Dec 21, 2020
1 parent 740a1cf commit 25ac2b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/OpenSSL/SSL.py
Expand Up @@ -156,7 +156,10 @@ class _buffer(object):
TLS1_VERSION = _lib.TLS1_VERSION
TLS1_1_VERSION = _lib.TLS1_1_VERSION
TLS1_2_VERSION = _lib.TLS1_2_VERSION
TLS1_3_VERSION = _lib.TLS1_3_VERSION
try:
TLS1_3_VERSION = _lib.TLS1_3_VERSION
except AttributeError:
pass

OP_NO_SSLv2 = _lib.SSL_OP_NO_SSLv2
OP_NO_SSLv3 = _lib.SSL_OP_NO_SSLv3
Expand Down

0 comments on commit 25ac2b6

Please sign in to comment.