aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-14 12:40:39 +0000
committerBodo Möller <bodo@openssl.org>1999-05-14 12:40:39 +0000
commit2a82c7cf252387b67d79383d518fad4a10bb253e (patch)
treea3ae765c754c1f4b54cdc34f64e195159f3883f8 /crypto/crypto.h
parentd36bcdf5ca819f1f8efb5eb0897f80864e110ad7 (diff)
downloadopenssl-2a82c7cf252387b67d79383d518fad4a10bb253e.tar.gz
Various bugfixes: Uses locking for some more of the stuff that is not
thread-safe (where thread-safe counterparts are not available on all platforms), and don't memcpy to NULL-pointers Submitted by: Anonymous Reviewed by: Bodo Moeller Also, clean up htons vs. ntohs confusions.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index 0582759e76..283261cb6c 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -103,9 +103,11 @@ extern "C" {
#define CRYPTO_LOCK_RAND 17
#define CRYPTO_LOCK_MALLOC 18
#define CRYPTO_LOCK_BIO 19
-#define CRYPTO_LOCK_BIO_GETHOSTBYNAME 20
-#define CRYPTO_LOCK_RSA_BLINDING 21
-#define CRYPTO_NUM_LOCKS 22
+#define CRYPTO_LOCK_GETHOSTBYNAME 20
+#define CRYPTO_LOCK_GETSERVBYNAME 21
+#define CRYPTO_LOCK_READDIR 22
+#define CRYPTO_LOCK_RSA_BLINDING 23
+#define CRYPTO_NUM_LOCKS 24
#define CRYPTO_LOCK 1
#define CRYPTO_UNLOCK 2