aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
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/crypto.h
parent24cff6ced5813a4d4014ed86828fba4e326d5868 (diff)
downloadopenssl-daba492c3a461bbcc0df69d609124936a19205f6.tar.gz
md_rand.c thread safety
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index c54f471290..53b85238c0 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -113,19 +113,20 @@ extern "C" {
#define CRYPTO_LOCK_SSL_SESS_CERT 15
#define CRYPTO_LOCK_SSL 16
#define CRYPTO_LOCK_RAND 17
-#define CRYPTO_LOCK_MALLOC 18
-#define CRYPTO_LOCK_BIO 19
-#define CRYPTO_LOCK_GETHOSTBYNAME 20
-#define CRYPTO_LOCK_GETSERVBYNAME 21
-#define CRYPTO_LOCK_READDIR 22
-#define CRYPTO_LOCK_RSA_BLINDING 23
-#define CRYPTO_LOCK_DH 24
-#define CRYPTO_LOCK_MALLOC2 25
-#define CRYPTO_LOCK_DSO 26
-#define CRYPTO_LOCK_DYNLOCK 27
-#define CRYPTO_LOCK_ENGINE 28
-#define CRYPTO_LOCK_UI 29
-#define CRYPTO_NUM_LOCKS 30
+#define CRYPTO_LOCK_RAND2 18
+#define CRYPTO_LOCK_MALLOC 19
+#define CRYPTO_LOCK_BIO 20
+#define CRYPTO_LOCK_GETHOSTBYNAME 21
+#define CRYPTO_LOCK_GETSERVBYNAME 22
+#define CRYPTO_LOCK_READDIR 23
+#define CRYPTO_LOCK_RSA_BLINDING 24
+#define CRYPTO_LOCK_DH 25
+#define CRYPTO_LOCK_MALLOC2 26
+#define CRYPTO_LOCK_DSO 27
+#define CRYPTO_LOCK_DYNLOCK 28
+#define CRYPTO_LOCK_ENGINE 29
+#define CRYPTO_LOCK_UI 30
+#define CRYPTO_NUM_LOCKS 31
#define CRYPTO_LOCK 1
#define CRYPTO_UNLOCK 2