diff options
author | Rich Salz <rsalz@openssl.org> | 2017-08-29 15:24:17 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-08-31 19:42:03 -0400 |
commit | ed6b2c7938ec6f07b15745d4183afc276e74c6dd (patch) | |
tree | ae11f0bb2f38642aceb8174e7b64e2815316250b /crypto/bio/b_addr.c | |
parent | 3907872f7234744b478499f42a8d151ca89be64d (diff) |
Add CRYPTO_thread_glock_new
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4294)
Diffstat (limited to 'crypto/bio/b_addr.c')
-rw-r--r-- | crypto/bio/b_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c index ba26c9144a..47e4fc20fb 100644 --- a/crypto/bio/b_addr.c +++ b/crypto/bio/b_addr.c @@ -603,7 +603,7 @@ static int addrinfo_wrap(int family, int socktype, DEFINE_RUN_ONCE_STATIC(do_bio_lookup_init) { OPENSSL_init_crypto(0, NULL); - bio_lookup_lock = CRYPTO_THREAD_lock_new(); + bio_lookup_lock = CRYPTO_THREAD_glock_new("bio_lookup"); return bio_lookup_lock != NULL; } |