aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/bindings/openssl
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-11-19 11:30:25 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2016-11-18 22:30:25 -0500
commite09754c74d75c1ba59c989cb053aaf61b519188d (patch)
treed9859ec0dbdd5af31954f45b73723abf7aac1e4d /src/cryptography/hazmat/bindings/openssl
parent84e4e3111d6008373813a7f2810f7ebc2d0f4e46 (diff)
downloadcryptography-e09754c74d75c1ba59c989cb053aaf61b519188d.tar.gz
cryptography-e09754c74d75c1ba59c989cb053aaf61b519188d.tar.bz2
cryptography-e09754c74d75c1ba59c989cb053aaf61b519188d.zip
add SSL_CTX_set_ecdh_auto where supported (#3250)
In 1.1.0 this is a noop and occurs by default, and this wasn't supported < 1.0.2
Diffstat (limited to 'src/cryptography/hazmat/bindings/openssl')
-rw-r--r--src/cryptography/hazmat/bindings/openssl/_conditional.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py
index 4da09870..02032a0d 100644
--- a/src/cryptography/hazmat/bindings/openssl/_conditional.py
+++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py
@@ -158,6 +158,9 @@ CONDITIONAL_NAMES = {
"Cryptography_HAS_ECDH": [
"ECDH_compute_key",
],
+ "Cryptography_HAS_SET_ECDH_AUTO": [
+ "SSL_CTX_set_ecdh_auto",
+ ],
"Cryptography_HAS_ECDSA": [
"ECDSA_SIG_new",
"ECDSA_SIG_free",