Change all our uses of CRYPTO_THREAD_run_once to use RUN_ONCE instead
authorRichard Levitte <levitte@openssl.org>
Tue, 19 Jul 2016 17:42:11 +0000 (19:42 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 19 Jul 2016 21:49:54 +0000 (23:49 +0200)
commitc2e4e5d248567d4eea5bf6d525bdbcc09099ba6e
treee4e16df15de0263a21427c92ae21d20dc98e3c19
parent925d17f3ee4b7f7881fa77a31524ecd9f1305242
Change all our uses of CRYPTO_THREAD_run_once to use RUN_ONCE instead

That way, we have a way to check if the init function was successful
or not.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
15 files changed:
crypto/bio/b_addr.c
crypto/engine/eng_init.c
crypto/engine/eng_int.h
crypto/engine/eng_lib.c
crypto/engine/eng_list.c
crypto/engine/tb_asnmth.c
crypto/err/err.c
crypto/ex_data.c
crypto/init.c
crypto/mem_dbg.c
crypto/rand/md_rand.c
include/openssl/err.h
ssl/ssl_cert.c
ssl/ssl_ciph.c
ssl/ssl_init.c