diff options
author | Bodo Möller <bodo@openssl.org> | 2001-09-06 12:37:36 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-09-06 12:37:36 +0000 |
commit | 78f792358074666983fc868603798edb058acbf5 (patch) | |
tree | f86aa8a734e6a4849f6d1ae9b04fe2f2bb493303 /crypto/crypto.h | |
parent | 978ebf0141ba4d3053b26a7705e659b2608a647b (diff) | |
download | openssl-78f792358074666983fc868603798edb058acbf5.tar.gz |
Totally get rid of CRYPTO_LOCK_ERR_HASH.
In err.c, flags int_error_hash_set and int_thread_hash_set
appear superfluous since we can just as well initialize
int_error_hash and int_thread_hash to NULL.
Change some of the err.c formatting to conform with the rest of
OpenSSL.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r-- | crypto/crypto.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h index 4cf9fd040b..9a642ab962 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -97,7 +97,7 @@ extern "C" { */ #define CRYPTO_LOCK_ERR 1 -#define CRYPTO_LOCK_ERR_HASH 2 +#define CRYPTO_LOCK_EX_DATA 2 #define CRYPTO_LOCK_X509 3 #define CRYPTO_LOCK_X509_INFO 4 #define CRYPTO_LOCK_X509_PKEY 5 @@ -126,8 +126,7 @@ extern "C" { #define CRYPTO_LOCK_DYNLOCK 28 #define CRYPTO_LOCK_ENGINE 29 #define CRYPTO_LOCK_UI 30 -#define CRYPTO_LOCK_EX_DATA 31 -#define CRYPTO_NUM_LOCKS 32 +#define CRYPTO_NUM_LOCKS 31 #define CRYPTO_LOCK 1 #define CRYPTO_UNLOCK 2 |