diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-17 21:15:41 -0600 |
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-17 21:15:41 -0600 |
| commit | e30d62cd9e2cf95259721b24bbf6d33aaf08161b (patch) | |
| tree | 8a689e9c7315a9fa6fa4f2b7532da3f3ba93db27 | |
| parent | 2b49e3456e14e7a85983571a12070dc8cecbb7c5 (diff) | |
| download | cryptography-e30d62cd9e2cf95259721b24bbf6d33aaf08161b.tar.gz cryptography-e30d62cd9e2cf95259721b24bbf6d33aaf08161b.tar.bz2 cryptography-e30d62cd9e2cf95259721b24bbf6d33aaf08161b.zip | |
rename variable to be less confusing and terrible
| -rw-r--r-- | cryptography/hazmat/bindings/openssl/err.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cryptography/hazmat/bindings/openssl/err.py b/cryptography/hazmat/bindings/openssl/err.py index 99808d41..5399b597 100644 --- a/cryptography/hazmat/bindings/openssl/err.py +++ b/cryptography/hazmat/bindings/openssl/err.py @@ -16,7 +16,7 @@ INCLUDES = """ """ TYPES = """ -static const int Cryptography_HAS_NEW_THREAD_METHOD; +static const int Cryptography_HAS_REMOVE_THREAD_STATE; struct ERR_string_data_st { unsigned long error; @@ -124,16 +124,16 @@ void ERR_remove_thread_state(const CRYPTO_THREADID *); CUSTOMIZATIONS = """ #if OPENSSL_VERSION_NUMBER >= 0x10000000L -static const long Cryptography_HAS_NEW_THREAD_METHOD = 1; +static const long Cryptography_HAS_REMOVE_THREAD_STATE = 1; #else -static const long Cryptography_HAS_NEW_THREAD_METHOD = 0; +static const long Cryptography_HAS_REMOVE_THREAD_STATE = 0; typedef uint32_t CRYPTO_THREADID; void (*ERR_remove_thread_state)(const CRYPTO_THREADID *); #endif """ CONDITIONAL_NAMES = { - "Cryptography_HAS_NEW_THREAD_METHOD": [ + "Cryptography_HAS_REMOVE_THREAD_STATE": [ "ERR_remove_thread_state" ], } |
