From: Richard Levitte Date: Tue, 15 Mar 2016 13:06:34 +0000 (+0100) Subject: Small typo X-Git-Tag: OpenSSL_1_1_0-pre4~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4d8bcf1f2a209233fd687694d714880ee510d2d;p=oweals%2Fopenssl.git Small typo OPENSSL_INIT_ONCE and OPENSSL_INIT_ONCE_STATIC_INIT are really CRYPTO_ONCE and CRYPTO_ONCE_STATIC_INIT. Reviewed-by: Rich Salz --- 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