decryptcore: add OPENSSL_INIT_LOAD_CONFIG to init call

Reported by:	def
Reviewed by:	Pierre Pronchery
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2023-05-31 12:59:39 -04:00
parent 8e7a31b65f
commit eb2b00da56

View File

@ -182,7 +182,7 @@ decrypt(int ofd, const char *privkeyfile, const char *keyfile,
}
ERR_load_crypto_strings();
#else
OPENSSL_init_crypto(0, NULL);
OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, NULL);
#endif
caph_cache_catpages();