Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2023 17:01:08 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: eb2b00da5640 - main - decryptcore: add OPENSSL_INIT_LOAD_CONFIG to init call
Message-ID:  <202305311701.34VH18mw085248@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305311701.34VH18mw085248>