1ERR_LOAD_CRYPTO_STRINGS(3ossl) OpenSSL ERR_LOAD_CRYPTO_STRINGS(3ossl)
2
3
4
6 ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
7 load and free error strings
8
10 The following functions have been deprecated since OpenSSL 1.1.0, and
11 can be hidden entirely by defining OPENSSL_API_COMPAT with a suitable
12 version value, see openssl_user_macros(7):
13
14 #include <openssl/err.h>
15
16 void ERR_load_crypto_strings(void);
17 void ERR_free_strings(void);
18
19 #include <openssl/ssl.h>
20
21 void SSL_load_error_strings(void);
22
24 ERR_load_crypto_strings() registers the error strings for all libcrypto
25 functions. SSL_load_error_strings() does the same, but also registers
26 the libssl error strings.
27
28 In versions prior to OpenSSL 1.1.0, ERR_free_strings() releases any
29 resources created by the above functions.
30
32 ERR_load_crypto_strings(), SSL_load_error_strings() and
33 ERR_free_strings() return no values.
34
36 ERR_error_string(3)
37
39 The ERR_load_crypto_strings(), SSL_load_error_strings(), and
40 ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
41 OPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.
42
44 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
45
46 Licensed under the Apache License 2.0 (the "License"). You may not use
47 this file except in compliance with the License. You can obtain a copy
48 in the file LICENSE in the source distribution or at
49 <https://www.openssl.org/source/license.html>.
50
51
52
533.0.5 2022-11-01 ERR_LOAD_CRYPTO_STRINGS(3ossl)