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 ERR_load_crypto_strings() registers the error strings for all
28 B<libcrypto> functions. SSL_load_error_strings() does the same,
29 but also registers the B<libssl> error strings.
31 In versions prior to OpenSSL 1.1.0,
32 ERR_free_strings() releases any resources created by the above functions.
36 ERR_load_crypto_strings(), SSL_load_error_strings() and
37 ERR_free_strings() return no values.
41 L<ERR_error_string(3)>
45 The ERR_load_crypto_strings(), SSL_load_error_strings(), and
46 ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
47 OPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.
51 Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
53 Licensed under the OpenSSL license (the "License"). You may not use
54 this file except in compliance with the License. You can obtain a copy
55 in the file LICENSE in the source distribution or at
56 L<https://www.openssl.org/source/license.html>.