summaryrefslogtreecommitdiffstats
path: root/crypto/lock.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-03-07 14:39:22 +0000
committerMatt Caswell <matt@openssl.org>2016-03-07 17:17:21 +0000
commitc292b105b1d0a627091480d3e4f6122b22a46385 (patch)
tree0670059ef83754e4d1c051bf54e86e45571cf294 /crypto/lock.c
parenta072ed0c882caa5c0b1742262ef7f4aa1e0e04a5 (diff)
Remove use of CRYPTO_LOCK_INIT in init code
Swap the use of CRYPTO_LOCK_INIT in the init code to use the new threading API mechanism for locking. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/lock.c')
-rw-r--r--crypto/lock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/lock.c b/crypto/lock.c
index aa34202163..35f0059ef3 100644
--- a/crypto/lock.c
+++ b/crypto/lock.c
@@ -163,8 +163,7 @@ static const char *const lock_names[CRYPTO_NUM_LOCKS] = {
"comp",
"fips",
"fips2",
- "init",
-#if CRYPTO_NUM_LOCKS != 42
+#if CRYPTO_NUM_LOCKS != 41
# error "Inconsistency between crypto.h and cryptlib.c"
#endif
};