diff options
author | Matt Caswell <matt@openssl.org> | 2016-02-08 16:43:03 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-02-09 15:11:38 +0000 |
commit | 7b9f8f7f03eda2faa1cdd42ed29a0b70e60eaf59 (patch) | |
tree | 30f805756265bd1d016aead84dcf1c909cca8b4b /include/openssl/conf.h | |
parent | b184e3ef73200cb3b7914a603b43a5b8a074c85f (diff) | |
download | openssl-7b9f8f7f03eda2faa1cdd42ed29a0b70e60eaf59.tar.gz |
Auto init/deinit libcrypto
This builds on the previous commit to auto initialise/deinitialise
libcrypto.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include/openssl/conf.h')
-rw-r--r-- | include/openssl/conf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/conf.h b/include/openssl/conf.h index 6598107914..9144c6d17d 100644 --- a/include/openssl/conf.h +++ b/include/openssl/conf.h @@ -138,7 +138,8 @@ int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out); int CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out); void OPENSSL_config(const char *config_name); -void OPENSSL_no_config(void); +#define OPENSSL_no_config() \ + OPENSSL_INIT_crypto_library_start(OPENSSL_INIT_NO_LOAD_CONFIG, NULL) /* * New conf code. The semantics are different from the functions above. If |