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/ex_data.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/ex_data.c')
-rw-r--r-- | crypto/ex_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ex_data.c b/crypto/ex_data.c index 22c4d3d9b9..30b16f9457 100644 --- a/crypto/ex_data.c +++ b/crypto/ex_data.c @@ -39,7 +39,7 @@ static CRYPTO_ONCE ex_data_init = CRYPTO_ONCE_STATIC_INIT; DEFINE_RUN_ONCE_STATIC(do_ex_data_init) { OPENSSL_init_crypto(0, NULL); - ex_data_lock = CRYPTO_THREAD_lock_new(); + ex_data_lock = CRYPTO_THREAD_glock_new("ex_data"); return ex_data_lock != NULL; } |