]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/crypto/ERR_load_crypto_strings.pod
Rename INIT funtions, deprecate old ones.
[thirdparty/openssl.git] / doc / crypto / ERR_load_crypto_strings.pod
CommitLineData
388f2f56
UM
1=pod
2
3=head1 NAME
4
5ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
4d524e10 6load and free error strings
388f2f56
UM
7
8=head1 SYNOPSIS
9
10 #include <openssl/err.h>
11
12 void ERR_load_crypto_strings(void);
13 void ERR_free_strings(void);
14
15 #include <openssl/ssl.h>
16
17 void SSL_load_error_strings(void);
18
19=head1 DESCRIPTION
20
21ERR_load_crypto_strings() registers the error strings for all
22B<libcrypto> functions. SSL_load_error_strings() does the same,
23but also registers the B<libssl> error strings.
24
25One of these functions should be called before generating
26textual error messages. However, this is not required when memory
27usage is an issue.
28
29ERR_free_strings() frees all previously loaded error strings.
30
31=head1 RETURN VALUES
32
33ERR_load_crypto_strings(), SSL_load_error_strings() and
34ERR_free_strings() return no values.
35
36=head1 SEE ALSO
37
9b86974e 38L<err(3)>, L<ERR_error_string(3)>
388f2f56 39
f672aee4
RS
40=head1 HISTORY
41
42The ERR_load_crypto_strings(), SSL_load_error_strings(), and
43ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
44OPENSSL_init_crypto() and OPENSSL_init_ssl().
45
388f2f56 46=cut