diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-14 12:40:39 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-14 12:40:39 +0000 |
commit | 2a82c7cf252387b67d79383d518fad4a10bb253e (patch) | |
tree | a3ae765c754c1f4b54cdc34f64e195159f3883f8 /crypto/crypto.h | |
parent | d36bcdf5ca819f1f8efb5eb0897f80864e110ad7 (diff) |
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.h | 8 |
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 |