projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure all locks are properly cleaned up
[openssl.git]
/
crypto
/
bio
/
b_addr.c
diff --git
a/crypto/bio/b_addr.c
b/crypto/bio/b_addr.c
index ed4c1397d97bc9ba3839a654081adf9eb7ac6d48..eed40bf8b5f427225d43c59f7d2fae7c2e8b1a04 100644
(file)
--- a/
crypto/bio/b_addr.c
+++ b/
crypto/bio/b_addr.c
@@
-62,7
+62,7
@@
#include <openssl/buffer.h>
#include <ctype.h>
#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;
/*
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;
}
return ret;
}
+
#endif /* OPENSSL_NO_SOCK */
#endif /* OPENSSL_NO_SOCK */