From 1ba4ec792aa821552973383ee22c906e0abbfc68 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 18 Aug 2024 20:24:11 +0000 Subject: [PATCH] Use OPENSSL_config() instead of OPENSSL_load_builtin_modules() --- usr.bin/openssl/apps.c | 4 ++-- 1 file 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 * @@ -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"); -- 2.20.1