]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/openssl/conf.h
Rename INIT funtions, deprecate old ones.
[thirdparty/openssl.git] / include / openssl / conf.h
index 9144c6d17d1cad888acceaa9c25048e50b2cd28e..e16f97ca5e4716effd1f0d0b5b5ea2be013feb37 100644 (file)
@@ -137,9 +137,11 @@ int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out);
 #endif
 int CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out);
 
+#if OPENSSL_API_COMPAT < 0x10100000L
 void OPENSSL_config(const char *config_name);
-#define OPENSSL_no_config() \
-    OPENSSL_INIT_crypto_library_start(OPENSSL_INIT_NO_LOAD_CONFIG, NULL)
+# define OPENSSL_no_config() \
+    OPENSSL_init_crypto(OPENSSL_INIT_NO_LOAD_CONFIG, NULL)
+#endif
 
 /*
  * New conf code.  The semantics are different from the functions above. If