summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bio_lib.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-08-20 19:06:43 -0400
committerRich Salz <rsalz@openssl.org>2016-08-21 14:18:09 -0400
commit5a7ad1f08bfccbdad0f20920f9c284bba036fb70 (patch)
tree2632f6f907b85cb583a52335ca9d5e47f9a24829 /crypto/bio/bio_lib.c
parent6b1f413c3a8563a53e1b41d48d870c010541c7f5 (diff)
Move BIO index lock creation
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bio/bio_lib.c')
-rw-r--r--crypto/bio/bio_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c
index 8a00103e2c..62392c3a52 100644
--- a/crypto/bio/bio_lib.c
+++ b/crypto/bio/bio_lib.c
@@ -594,7 +594,7 @@ void bio_cleanup(void)
bio_sock_cleanup_int();
CRYPTO_THREAD_lock_free(bio_lookup_lock);
bio_lookup_lock = NULL;
+#endif
CRYPTO_THREAD_lock_free(bio_type_lock);
bio_type_lock = NULL;
-#endif
}