aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/bindings/openssl
diff options
context:
space:
mode:
authorgesslerpd <gesslerpd@users.noreply.github.com>2018-01-16 09:07:23 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-01-16 09:07:23 -0600
commit5e866f7191cf307720811ac87364cd36e7fd990b (patch)
tree9bf615f9eb086abdce2d50e8b7512079e58c5e74 /src/cryptography/hazmat/bindings/openssl
parent2beccafe22c87a7b3feb6672aaa88d7b7f3a9fb1 (diff)
downloadcryptography-5e866f7191cf307720811ac87364cd36e7fd990b.tar.gz
cryptography-5e866f7191cf307720811ac87364cd36e7fd990b.tar.bz2
cryptography-5e866f7191cf307720811ac87364cd36e7fd990b.zip
Add bindings for SSL_OP_NO_DTLS* (#4079)
* + bindings for SSL_OP_NO_DTLS* * + conditional for not HAS_GENERIC_DTLS_METHOD * flag SSL_OP_NO_DTLS* for unsupported deletion
Diffstat (limited to 'src/cryptography/hazmat/bindings/openssl')
-rw-r--r--src/cryptography/hazmat/bindings/openssl/_conditional.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py
index b87ae906..8633373f 100644
--- a/src/cryptography/hazmat/bindings/openssl/_conditional.py
+++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py
@@ -195,6 +195,8 @@ def cryptography_has_generic_dtls_method():
"DTLS_method",
"DTLS_server_method",
"DTLS_client_method",
+ "SSL_OP_NO_DTLSv1",
+ "SSL_OP_NO_DTLSv1_2",
]