From: tb Date: Sun, 18 Aug 2024 20:24:11 +0000 (+0000) Subject: Use OPENSSL_config() instead of OPENSSL_load_builtin_modules() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1ba4ec792aa821552973383ee22c906e0abbfc68;p=openbsd Use OPENSSL_config() instead of OPENSSL_load_builtin_modules() --- 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");