Swap the init code to use CRYPTO_ONCE
authorMatt Caswell <matt@openssl.org>
Wed, 2 Mar 2016 14:51:00 +0000 (14:51 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 7 Mar 2016 17:17:21 +0000 (17:17 +0000)
commitb1f1e7aebad6ece6d878ca7e823b4ad92e2415f3
tree394f4cde5fcd3d887bf8d20cdd92fc6fe39fae23
parent48fe8ab02e7080a5557e287a5190cbbd40021a98
Swap the init code to use CRYPTO_ONCE

The init code was using its own "once" implementation. Now that we have
the new thread API we should use that instead.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/init.c
ssl/ssl_init.c