5 ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
6 load and free error strings
10 The following functions have been deprecated since OpenSSL 1.1.0, and can be
11 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
12 see L<openssl_user_macros(7)>:
14 #include <openssl/err.h>
16 void ERR_load_crypto_strings(void);
17 void ERR_free_strings(void);
19 #include <openssl/ssl.h>
21 void SSL_load_error_strings(void);
25 ERR_load_crypto_strings() registers the error strings for all
26 B<libcrypto> functions. SSL_load_error_strings() does the same,
27 but also registers the B<libssl> error strings.
29 In versions prior to OpenSSL 1.1.0,
30 ERR_free_strings() releases any resources created by the above functions.
34 ERR_load_crypto_strings(), SSL_load_error_strings() and
35 ERR_free_strings() return no values.
39 L<ERR_error_string(3)>
43 The ERR_load_crypto_strings(), SSL_load_error_strings(), and
44 ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
45 OPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.
49 Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
51 Licensed under the Apache License 2.0 (the "License"). You may not use
52 this file except in compliance with the License. You can obtain a copy
53 in the file LICENSE in the source distribution or at
54 L<https://www.openssl.org/source/license.html>.