summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/cryptlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/cryptlib.c')
-rw-r--r--crypto/openssl/crypto/cryptlib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/openssl/crypto/cryptlib.c b/crypto/openssl/crypto/cryptlib.c
index 356c476..a8f29f1 100644
--- a/crypto/openssl/crypto/cryptlib.c
+++ b/crypto/openssl/crypto/cryptlib.c
@@ -92,7 +92,9 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] =
"getservbyname",
"readdir",
"RSA_blinding",
-#if CRYPTO_NUM_LOCKS != 24
+ "dh",
+ "debug_malloc2",
+#if CRYPTO_NUM_LOCKS != 26
# error "Inconsistency between crypto.h and cryptlib.c"
#endif
};
@@ -181,7 +183,7 @@ unsigned long CRYPTO_thread_id(void)
ret=(unsigned long)GetCurrentTask();
#elif defined(WIN32)
ret=(unsigned long)GetCurrentThreadId();
-#elif defined(MSDOS)
+#elif defined(GETPID_IS_MEANINGLESS)
ret=1L;
#else
ret=(unsigned long)getpid();
OpenPOWER on IntegriCloud