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 8cf72713cf33e193a3950edc1e83feeea669d441..b7e023592d39e55800ff001bb6ed93b39b54c948 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