diff options
author | Matt Caswell <matt@openssl.org> | 2016-02-08 16:43:03 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-02-09 15:11:38 +0000 |
commit | 7b9f8f7f03eda2faa1cdd42ed29a0b70e60eaf59 (patch) | |
tree | 30f805756265bd1d016aead84dcf1c909cca8b4b /crypto/lock.c | |
parent | b184e3ef73200cb3b7914a603b43a5b8a074c85f (diff) |
Auto init/deinit libcrypto
This builds on the previous commit to auto initialise/deinitialise
libcrypto.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/lock.c')
-rw-r--r-- | crypto/lock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/lock.c b/crypto/lock.c index 2ac74b566c..0925214f32 100644 --- a/crypto/lock.c +++ b/crypto/lock.c @@ -163,7 +163,8 @@ static const char *const lock_names[CRYPTO_NUM_LOCKS] = { "comp", "fips", "fips2", -#if CRYPTO_NUM_LOCKS != 41 + "init", +#if CRYPTO_NUM_LOCKS != 42 # error "Inconsistency between crypto.h and cryptlib.c" #endif }; |