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/cryptlib.c | |
parent | 978ebf0141ba4d3053b26a7705e659b2608a647b (diff) |
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/cryptlib.c')
-rw-r--r-- | crypto/cryptlib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 6a2e546fba..4eb584c90a 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -74,7 +74,7 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] = { "<<ERROR>>", "err", - "err_hash", + "ex_data", "x509", "x509_info", "x509_pkey", @@ -103,8 +103,7 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] = "dynlock", "engine", "ui", - "ex_data", -#if CRYPTO_NUM_LOCKS != 32 +#if CRYPTO_NUM_LOCKS != 31 # error "Inconsistency between crypto.h and cryptlib.c" #endif }; |