From a4d8bcf1f2a209233fd687694d714880ee510d2d Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 15 Mar 2016 14:06:34 +0100 Subject: [PATCH] Small typo OPENSSL_INIT_ONCE and OPENSSL_INIT_ONCE_STATIC_INIT are really CRYPTO_ONCE and CRYPTO_ONCE_STATIC_INIT. Reviewed-by: Rich Salz --- crypto/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/init.c b/crypto/init.c index 8cf72713cf..b7e023592d 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -311,7 +311,7 @@ static void ossl_init_engine_dasync(void) engine_load_dasync_internal(); } # if !defined(OPENSSL_NO_AFALGENG) -static OPENSSL_INIT_ONCE engine_afalg = OPENSSL_INIT_ONCE_STATIC_INIT; +static CRYPTO_ONCE engine_afalg = CRYPTO_ONCE_STATIC_INIT; static void ossl_init_engine_afalg(void) { # ifdef OPENSSL_INIT_DEBUG