summaryrefslogtreecommitdiffstats
path: root/crypto/store
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-08-29 15:24:17 -0400
committerRich Salz <rsalz@openssl.org>2017-08-31 19:42:03 -0400
commited6b2c7938ec6f07b15745d4183afc276e74c6dd (patch)
treeae11f0bb2f38642aceb8174e7b64e2815316250b /crypto/store
parent3907872f7234744b478499f42a8d151ca89be64d (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/store')
-rw-r--r--crypto/store/store_register.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/store/store_register.c b/crypto/store/store_register.c
index 85c38b84dd..987ca42f8c 100644
--- a/crypto/store/store_register.c
+++ b/crypto/store/store_register.c
@@ -20,7 +20,7 @@ static CRYPTO_ONCE registry_init = CRYPTO_ONCE_STATIC_INIT;
DEFINE_RUN_ONCE_STATIC(do_registry_init)
{
- registry_lock = CRYPTO_THREAD_lock_new();
+ registry_lock = CRYPTO_THREAD_glock_new("registry");
return registry_lock != NULL;
}