diff options
Diffstat (limited to 'ssl/ssl_err_legacy.c')
-rw-r--r-- | ssl/ssl_err_legacy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/ssl_err_legacy.c b/ssl/ssl_err_legacy.c index 7ce25e1f1112..264c6b4d4f1d 100644 --- a/ssl/ssl_err_legacy.c +++ b/ssl/ssl_err_legacy.c @@ -1,5 +1,5 @@ /* - * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2020-2025 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -9,12 +9,12 @@ /* This is the C source file where we include this header directly */ #include <openssl/sslerr_legacy.h> -#include "sslerr.h" +#include <openssl/ssl.h> #ifndef OPENSSL_NO_DEPRECATED_3_0 int ERR_load_SSL_strings(void) { - return ossl_err_load_SSL_strings(); + return OPENSSL_init_crypto(OPENSSL_INIT_LOAD_SSL_STRINGS, 0); } #else NON_EMPTY_TRANSLATION_UNIT |