Small typo
authorRichard Levitte <levitte@openssl.org>
Tue, 15 Mar 2016 13:06:34 +0000 (14:06 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 15 Mar 2016 13:06:34 +0000 (14:06 +0100)
OPENSSL_INIT_ONCE and OPENSSL_INIT_ONCE_STATIC_INIT are really
CRYPTO_ONCE and CRYPTO_ONCE_STATIC_INIT.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/init.c

index 8cf7271..b7e0235 100644 (file)
@@ -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