diff options
author | tb <> | 2024-08-18 20:24:11 +0000 |
---|---|---|
committer | tb <> | 2024-08-18 20:24:11 +0000 |
commit | f1a4f437d7bf75e7a4e62433eb54e6eff433baa8 (patch) | |
tree | b82b4c9df45c9e1fbd9dcd622a389e3eee085ce9 | |
parent | 85534b05cc2aca494a0262abef3f49a081303440 (diff) | |
download | openbsd-f1a4f437d7bf75e7a4e62433eb54e6eff433baa8.tar.gz openbsd-f1a4f437d7bf75e7a4e62433eb54e6eff433baa8.tar.bz2 openbsd-f1a4f437d7bf75e7a4e62433eb54e6eff433baa8.zip |
Use OPENSSL_config() instead of OPENSSL_load_builtin_modules()
-rw-r--r-- | src/usr.bin/openssl/apps.c | 4 |
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"); |