summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/apps.c
diff options
context:
space:
mode:
authortb <>2024-08-18 20:24:11 +0000
committertb <>2024-08-18 20:24:11 +0000
commit0b09bf41cdc876ef77eb505c8342fb28aafa8cab (patch)
treeb82b4c9df45c9e1fbd9dcd622a389e3eee085ce9 /src/usr.bin/openssl/apps.c
parent461ab3da3ec0338ec87a7237e91f59a035f6aae8 (diff)
downloadopenbsd-0b09bf41cdc876ef77eb505c8342fb28aafa8cab.tar.gz
openbsd-0b09bf41cdc876ef77eb505c8342fb28aafa8cab.tar.bz2
openbsd-0b09bf41cdc876ef77eb505c8342fb28aafa8cab.zip
Use OPENSSL_config() instead of OPENSSL_load_builtin_modules()
Diffstat (limited to 'src/usr.bin/openssl/apps.c')
-rw-r--r--src/usr.bin/openssl/apps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/apps.c b/src/usr.bin/openssl/apps.c
index 6ffbe6f0c4..f58aa5365f 100644
--- a/src/usr.bin/openssl/apps.c
+++ b/src/usr.bin/openssl/apps.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: apps.c,v 1.67 2023/11/21 17:56:19 tb Exp $ */ 1/* $OpenBSD: apps.c,v 1.68 2024/08/18 20:24:11 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -1053,7 +1053,7 @@ load_config(BIO *err, CONF *cnf)
1053 if (cnf == NULL) 1053 if (cnf == NULL)
1054 return 1; 1054 return 1;
1055 1055
1056 OPENSSL_load_builtin_modules(); 1056 OPENSSL_config(NULL);
1057 1057
1058 if (CONF_modules_load(cnf, NULL, 0) <= 0) { 1058 if (CONF_modules_load(cnf, NULL, 0) <= 0) {
1059 BIO_printf(err, "Error configuring OpenSSL\n"); 1059 BIO_printf(err, "Error configuring OpenSSL\n");