diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-01 07:54:05 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-01 07:56:19 -0600 |
commit | 9a426a5003b324cfd77a33bcbe81d9763ea4ba95 (patch) | |
tree | 938c4874ee1399125ce57b42e03511dcb00b1f06 /src/cryptography/hazmat/bindings/openssl/_conditional.py | |
parent | 6d3a07f4fb3094c6868514fcae1cec24c647d2a6 (diff) | |
download | cryptography-9a426a5003b324cfd77a33bcbe81d9763ea4ba95.tar.gz cryptography-9a426a5003b324cfd77a33bcbe81d9763ea4ba95.tar.bz2 cryptography-9a426a5003b324cfd77a33bcbe81d9763ea4ba95.zip |
fix a warning in cffi
cffi doesn't want to guess the type, so we'll deopaque the enum and
strip the values out of the lib if EC is unavailable
Diffstat (limited to 'src/cryptography/hazmat/bindings/openssl/_conditional.py')
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/_conditional.py | 3 |
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 f0ad1d5e..80a6dda3 100644 --- a/src/cryptography/hazmat/bindings/openssl/_conditional.py +++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py @@ -141,6 +141,9 @@ CONDITIONAL_NAMES = { "i2o_ECPublicKey", "o2i_ECPublicKey", "SSL_CTX_set_tmp_ecdh", + "POINT_CONVERSION_COMPRESSED", + "POINT_CONVERSION_UNCOMPRESSED", + "POINT_CONVERSION_HYBRID", ], "Cryptography_HAS_EC_1_0_1": [ |