5 ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
6 load and free error strings
12 #include <openssl/err.h>
14 #if OPENSSL_API_COMPAT < 0x10100000L
15 void ERR_load_crypto_strings(void);
16 void ERR_free_strings(void);
19 #include <openssl/ssl.h>
21 #if OPENSSL_API_COMPAT < 0x10100000L
22 void SSL_load_error_strings(void);
27 All of the following functions are deprecated from OpenSSL 1.1.0. No explicit
28 initialisation or de-initialisation is necessary. See L<OPENSSL_init_crypto(3)>
29 and L<OPENSSL_init_ssl(3)>.
31 ERR_load_crypto_strings() registers the error strings for all
32 B<libcrypto> functions. SSL_load_error_strings() does the same,
33 but also registers the B<libssl> error strings.
35 In versions of OpenSSL prior to 1.1.0 ERR_free_strings() freed all previously
36 loaded error strings. However from OpenSSL 1.1.0 it does nothing.
40 ERR_load_crypto_strings(), SSL_load_error_strings() and
41 ERR_free_strings() return no values.
45 L<err(3)>, L<ERR_error_string(3)>
49 The ERR_load_crypto_strings(), SSL_load_error_strings(), and
50 ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
51 OPENSSL_init_crypto() and OPENSSL_init_ssl().
55 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
57 Licensed under the OpenSSL license (the "License"). You may not use
58 this file except in compliance with the License. You can obtain a copy
59 in the file LICENSE in the source distribution or at
60 L<https://www.openssl.org/source/license.html>.