aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/bindings/openssl/err.py8
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"
],
}