xref: /freebsd-src/crypto/openssl/doc/man3/ERR_load_crypto_strings.pod (revision e71b70530d95c4f34d8bdbd78d1242df1ba4a945)
1*e71b7053SJung-uk Kim=pod
2*e71b7053SJung-uk Kim
3*e71b7053SJung-uk Kim=head1 NAME
4*e71b7053SJung-uk Kim
5*e71b7053SJung-uk KimERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
6*e71b7053SJung-uk Kimload and free error strings
7*e71b7053SJung-uk Kim
8*e71b7053SJung-uk Kim=head1 SYNOPSIS
9*e71b7053SJung-uk Kim
10*e71b7053SJung-uk KimDeprecated:
11*e71b7053SJung-uk Kim
12*e71b7053SJung-uk Kim #include <openssl/err.h>
13*e71b7053SJung-uk Kim
14*e71b7053SJung-uk Kim #if OPENSSL_API_COMPAT < 0x10100000L
15*e71b7053SJung-uk Kim void ERR_load_crypto_strings(void);
16*e71b7053SJung-uk Kim void ERR_free_strings(void);
17*e71b7053SJung-uk Kim #endif
18*e71b7053SJung-uk Kim
19*e71b7053SJung-uk Kim #include <openssl/ssl.h>
20*e71b7053SJung-uk Kim
21*e71b7053SJung-uk Kim #if OPENSSL_API_COMPAT < 0x10100000L
22*e71b7053SJung-uk Kim void SSL_load_error_strings(void);
23*e71b7053SJung-uk Kim #endif
24*e71b7053SJung-uk Kim
25*e71b7053SJung-uk Kim=head1 DESCRIPTION
26*e71b7053SJung-uk Kim
27*e71b7053SJung-uk KimERR_load_crypto_strings() registers the error strings for all
28*e71b7053SJung-uk KimB<libcrypto> functions. SSL_load_error_strings() does the same,
29*e71b7053SJung-uk Kimbut also registers the B<libssl> error strings.
30*e71b7053SJung-uk Kim
31*e71b7053SJung-uk KimIn versions prior to OpenSSL 1.1.0,
32*e71b7053SJung-uk KimERR_free_strings() releases any resources created by the above functions.
33*e71b7053SJung-uk Kim
34*e71b7053SJung-uk Kim=head1 RETURN VALUES
35*e71b7053SJung-uk Kim
36*e71b7053SJung-uk KimERR_load_crypto_strings(), SSL_load_error_strings() and
37*e71b7053SJung-uk KimERR_free_strings() return no values.
38*e71b7053SJung-uk Kim
39*e71b7053SJung-uk Kim=head1 SEE ALSO
40*e71b7053SJung-uk Kim
41*e71b7053SJung-uk KimL<ERR_error_string(3)>
42*e71b7053SJung-uk Kim
43*e71b7053SJung-uk Kim=head1 HISTORY
44*e71b7053SJung-uk Kim
45*e71b7053SJung-uk KimThe ERR_load_crypto_strings(), SSL_load_error_strings(), and
46*e71b7053SJung-uk KimERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
47*e71b7053SJung-uk KimOPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.
48*e71b7053SJung-uk Kim
49*e71b7053SJung-uk Kim=head1 COPYRIGHT
50*e71b7053SJung-uk Kim
51*e71b7053SJung-uk KimCopyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
52*e71b7053SJung-uk Kim
53*e71b7053SJung-uk KimLicensed under the OpenSSL license (the "License").  You may not use
54*e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
55*e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
56*e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
57*e71b7053SJung-uk Kim
58*e71b7053SJung-uk Kim=cut
59