1*2175Sjp161948=pod
2*2175Sjp161948
3*2175Sjp161948=head1 NAME
4*2175Sjp161948
5*2175Sjp161948ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
6*2175Sjp161948load and free error strings
7*2175Sjp161948
8*2175Sjp161948=head1 SYNOPSIS
9*2175Sjp161948
10*2175Sjp161948 #include <openssl/err.h>
11*2175Sjp161948
12*2175Sjp161948 void ERR_load_crypto_strings(void);
13*2175Sjp161948 void ERR_free_strings(void);
14*2175Sjp161948
15*2175Sjp161948 #include <openssl/ssl.h>
16*2175Sjp161948
17*2175Sjp161948 void SSL_load_error_strings(void);
18*2175Sjp161948
19*2175Sjp161948=head1 DESCRIPTION
20*2175Sjp161948
21*2175Sjp161948ERR_load_crypto_strings() registers the error strings for all
22*2175Sjp161948B<libcrypto> functions. SSL_load_error_strings() does the same,
23*2175Sjp161948but also registers the B<libssl> error strings.
24*2175Sjp161948
25*2175Sjp161948One of these functions should be called before generating
26*2175Sjp161948textual error messages. However, this is not required when memory
27*2175Sjp161948usage is an issue.
28*2175Sjp161948
29*2175Sjp161948ERR_free_strings() frees all previously loaded error strings.
30*2175Sjp161948
31*2175Sjp161948=head1 RETURN VALUES
32*2175Sjp161948
33*2175Sjp161948ERR_load_crypto_strings(), SSL_load_error_strings() and
34*2175Sjp161948ERR_free_strings() return no values.
35*2175Sjp161948
36*2175Sjp161948=head1 SEE ALSO
37*2175Sjp161948
38*2175Sjp161948L<err(3)|err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>
39*2175Sjp161948
40*2175Sjp161948=head1 HISTORY
41*2175Sjp161948
42*2175Sjp161948ERR_load_error_strings(), SSL_load_error_strings() and
43*2175Sjp161948ERR_free_strings() are available in all versions of SSLeay and
44*2175Sjp161948OpenSSL.
45*2175Sjp161948
46*2175Sjp161948=cut
47