summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/conf/conf_sap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/conf/conf_sap.c')
-rw-r--r--src/lib/libcrypto/conf/conf_sap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/conf/conf_sap.c b/src/lib/libcrypto/conf/conf_sap.c
index 59c90dab49..6951718765 100644
--- a/src/lib/libcrypto/conf/conf_sap.c
+++ b/src/lib/libcrypto/conf/conf_sap.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf_sap.c,v 1.17 2024/08/31 09:54:31 tb Exp $ */ 1/* $OpenBSD: conf_sap.c,v 1.18 2024/10/18 11:12:10 tb Exp $ */
2/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL 2/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -78,11 +78,12 @@ static pthread_once_t openssl_configured = PTHREAD_ONCE_INIT;
78 78
79static const char *openssl_config_name; 79static const char *openssl_config_name;
80 80
81void ASN1_add_oid_module(void);
82
81static void 83static void
82OPENSSL_config_internal(void) 84OPENSSL_config_internal(void)
83{ 85{
84 OPENSSL_load_builtin_modules(); 86 ASN1_add_oid_module();
85 /* Add others here? */
86 87
87 ERR_clear_error(); 88 ERR_clear_error();
88 if (CONF_modules_load_file(NULL, openssl_config_name, 89 if (CONF_modules_load_file(NULL, openssl_config_name,