aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-07-25 17:17:24 +0000
committerBodo Möller <bodo@openssl.org>2001-07-25 17:17:24 +0000
commitdaba492c3a461bbcc0df69d609124936a19205f6 (patch)
tree81307c480eb35de93be0718534440e36a9d6ecf1 /crypto/cryptlib.c
parent24cff6ced5813a4d4014ed86828fba4e326d5868 (diff)
downloadopenssl-daba492c3a461bbcc0df69d609124936a19205f6.tar.gz
md_rand.c thread safety
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index b733abafee..be83f5617f 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -90,6 +90,7 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] =
"ssl_sess_cert",
"ssl",
"rand",
+ "rand2",
"debug_malloc",
"BIO",
"gethostbyname",
@@ -102,7 +103,7 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] =
"dynlock",
"engine",
"ui",
-#if CRYPTO_NUM_LOCKS != 30
+#if CRYPTO_NUM_LOCKS != 31
# error "Inconsistency between crypto.h and cryptlib.c"
#endif
};