Ensure all locks are properly cleaned up
[openssl.git] / crypto / bio / b_addr.c
index ed4c1397d97bc9ba3839a654081adf9eb7ac6d48..eed40bf8b5f427225d43c59f7d2fae7c2e8b1a04 100644 (file)
@@ -62,7 +62,7 @@
 #include <openssl/buffer.h>
 #include <ctype.h>
 
-static CRYPTO_RWLOCK *bio_lookup_lock;
+CRYPTO_RWLOCK *bio_lookup_lock;
 static CRYPTO_ONCE bio_lookup_init = CRYPTO_ONCE_STATIC_INIT;
 
 /*
@@ -891,4 +891,5 @@ int BIO_lookup(const char *host, const char *service,
 
     return ret;
 }
+
 #endif /* OPENSSL_NO_SOCK */