aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshwini Oruganti <ashwini.oruganti@gmail.com>2014-05-01 12:47:24 -0700
committerAshwini Oruganti <ashwini.oruganti@gmail.com>2014-05-01 12:47:24 -0700
commite43fffb7614a39b454421798a415625a59687e19 (patch)
treee8b4a81149fa621b7815157445899735dcfa4ef6
parentd2e6563733a59d08cf46af7e93800539391c8d8d (diff)
downloadcryptography-e43fffb7614a39b454421798a415625a59687e19.tar.gz
cryptography-e43fffb7614a39b454421798a415625a59687e19.tar.bz2
cryptography-e43fffb7614a39b454421798a415625a59687e19.zip
Define CONDITIONAL_NAMES
-rw-r--r--cryptography/hazmat/bindings/openssl/ecdh.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/ecdh.py b/cryptography/hazmat/bindings/openssl/ecdh.py
index c74abb96..6b9b50ce 100644
--- a/cryptography/hazmat/bindings/openssl/ecdh.py
+++ b/cryptography/hazmat/bindings/openssl/ecdh.py
@@ -57,4 +57,10 @@ void *(*ECDH_get_ex_data)(EC_KEY *, int) = NULL;
"""
CONDITIONAL_NAMES = {
+ "Cryptography_HAS_ECDH": [
+ "ECDH_compute_key",
+ "ECDH_get_ex_new_index",
+ "ECDH_set_ex_data",
+ "ECDH_get_ex_data",
+ ],
}