git: eb2b00da5640 - main - decryptcore: add OPENSSL_INIT_LOAD_CONFIG to init call

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 31 May 2023 17:01:08 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=eb2b00da5640c5d105ff436ed4143e7ea18a30df

commit eb2b00da5640c5d105ff436ed4143e7ea18a30df
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-05-31 16:59:39 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-05-31 17:00:57 +0000

    decryptcore: add OPENSSL_INIT_LOAD_CONFIG to init call
    
    Reported by:    def
    Reviewed by:    Pierre Pronchery
    Sponsored by:   The FreeBSD Foundation
---
 sbin/decryptcore/decryptcore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/decryptcore/decryptcore.c b/sbin/decryptcore/decryptcore.c
index 8f80c948b341..04892395a542 100644
--- a/sbin/decryptcore/decryptcore.c
+++ b/sbin/decryptcore/decryptcore.c
@@ -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();