diff options
-rw-r--r-- | src/_cffi_src/openssl/osrandom_engine.py | 2 | ||||
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/_conditional.py | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/_cffi_src/openssl/osrandom_engine.py b/src/_cffi_src/openssl/osrandom_engine.py index 10c5a608..93af8cf7 100644 --- a/src/_cffi_src/openssl/osrandom_engine.py +++ b/src/_cffi_src/openssl/osrandom_engine.py @@ -25,5 +25,3 @@ MACROS = """ with open(os.path.join(HERE, "src/osrandom_engine.c")) as f: CUSTOMIZATIONS = f.read() - -CONDITIONAL_NAMES = {} diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py index 8605477d..11e329e7 100644 --- a/src/cryptography/hazmat/bindings/openssl/_conditional.py +++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py @@ -4,9 +4,9 @@ from __future__ import absolute_import, division, print_function -# This is a temporary copy of all the CONDITIONAL_NAMES from _cffi_src so -# we can loop over them and delete them at runtime. It will be removed when -# cffi supports #if in cdef +# This is a mapping of {condition: names-dependent-on-that-condition} so we can +# loop over them and delete unsupported names at runtime. It will be removed +# when cffi supports #if in cdef. CONDITIONAL_NAMES = { "Cryptography_HAS_CMS": [ |