diff options
author | Richard Levitte <levitte@openssl.org> | 2016-07-19 19:42:11 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-07-19 23:49:54 +0200 |
commit | c2e4e5d248567d4eea5bf6d525bdbcc09099ba6e (patch) | |
tree | e4e16df15de0263a21427c92ae21d20dc98e3c19 /include/openssl/err.h | |
parent | 925d17f3ee4b7f7881fa77a31524ecd9f1305242 (diff) | |
download | openssl-c2e4e5d248567d4eea5bf6d525bdbcc09099ba6e.tar.gz |
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>
Diffstat (limited to 'include/openssl/err.h')
-rw-r--r-- | include/openssl/err.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h index 9dcd27e9be..60ffc49edc 100644 --- a/include/openssl/err.h +++ b/include/openssl/err.h @@ -232,7 +232,7 @@ void ERR_print_errors(BIO *bp); void ERR_add_error_data(int num, ...); void ERR_add_error_vdata(int num, va_list args); void ERR_load_strings(int lib, ERR_STRING_DATA str[]); -void ERR_unload_strings(int lib, ERR_STRING_DATA str[]); +int ERR_unload_strings(int lib, ERR_STRING_DATA str[]); void ERR_load_ERR_strings(void); #if OPENSSL_API_COMPAT < 0x10100000L |