diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-11 21:53:18 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-14 13:19:04 +0100 |
commit | ff2344052bfa0132260ee3154962a2552f3d95f5 (patch) | |
tree | 4ab28127a480a46064e730088339e4fe6dbd7cfc /crypto/bio/b_addr.c | |
parent | 085b3860651e2ff55e28f8a28a1f66b1a3fe538f (diff) | |
download | openssl-ff2344052bfa0132260ee3154962a2552f3d95f5.tar.gz |
Ensure all locks are properly cleaned up
Some locks were not being properly cleaned up during close down.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bio/b_addr.c')
-rw-r--r-- | crypto/bio/b_addr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c index ed4c1397d9..eed40bf8b5 100644 --- a/crypto/bio/b_addr.c +++ b/crypto/bio/b_addr.c @@ -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 */ |