summaryrefslogtreecommitdiff
path: root/usr.bin/openssl
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-08-18 20:24:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-08-18 20:24:12 +0000
commit2414ce2b1c31643f797b4a455e706901b07c878b (patch)
tree7838e326179c94be918a8a967323dbafc731add3 /usr.bin/openssl
parent281bcd08f40bc37256c87159d116ab8342db031a (diff)
Use OPENSSL_config() instead of OPENSSL_load_builtin_modules()
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r--usr.bin/openssl/apps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/apps.c b/usr.bin/openssl/apps.c
index 6ffbe6f0c4d..f58aa5365f2 100644
--- a/usr.bin/openssl/apps.c
+++ b/usr.bin/openssl/apps.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apps.c,v 1.67 2023/11/21 17:56:19 tb Exp $ */
+/* $OpenBSD: apps.c,v 1.68 2024/08/18 20:24:11 tb Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -1053,7 +1053,7 @@ load_config(BIO *err, CONF *cnf)
if (cnf == NULL)
return 1;
- OPENSSL_load_builtin_modules();
+ OPENSSL_config(NULL);
if (CONF_modules_load(cnf, NULL, 0) <= 0) {
BIO_printf(err, "Error configuring OpenSSL\n");