diff options
author | Rich Salz <rsalz@akamai.com> | 2016-02-09 11:52:40 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-10 09:37:03 -0500 |
commit | f672aee49450e03e7b1a26c8701d0be720e9ae0e (patch) | |
tree | 3f0eacb640d461102a8962d3a663a6e17df70fd6 /include/openssl/err.h | |
parent | ea7736a0930d8c9dd3d4d1a3b3e001ff56364bd6 (diff) | |
download | openssl-f672aee49450e03e7b1a26c8701d0be720e9ae0e.tar.gz |
Rename INIT funtions, deprecate old ones.
Man, there were a lot of renamings :)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include/openssl/err.h')
-rw-r--r-- | include/openssl/err.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h index f8742a4681..147d4da726 100644 --- a/include/openssl/err.h +++ b/include/openssl/err.h @@ -355,8 +355,10 @@ void ERR_load_strings(int lib, ERR_STRING_DATA str[]); void ERR_unload_strings(int lib, ERR_STRING_DATA str[]); void ERR_load_ERR_strings(void); -#define ERR_load_crypto_strings() \ - OPENSSL_INIT_crypto_library_start(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL) +#if OPENSSL_API_COMPAT < 0x10100000L +# define ERR_load_crypto_strings() \ + OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL) +#endif void ERR_free_strings(void); |