summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-15 14:06:34 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-15 14:06:34 +0100
commita4d8bcf1f2a209233fd687694d714880ee510d2d (patch)
tree8b09b0c7ac11dd759504d0e10c61f77b22eed1e1
parentstatic-engine is no longer an internal keyword, remove it from %disabled (diff)
downloadopenssl-a4d8bcf1f2a209233fd687694d714880ee510d2d.tar.xz
openssl-a4d8bcf1f2a209233fd687694d714880ee510d2d.zip
Small typo
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>
-rw-r--r--crypto/init.c2
1 files changed, 1 insertions, 1 deletions
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