mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
9b86974e0c
L<foo|foo> is sub-optimal If the xref is the same as the title, which is what we do, then you only need L<foo>. This fixes all 1457 occurrences in 349 files. Approximately. (And pod used to need both.) Reviewed-by: Richard Levitte <levitte@openssl.org>
47 lines
1011 B
Plaintext
47 lines
1011 B
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
|
|
load and free error strings
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
#include <openssl/err.h>
|
|
|
|
void ERR_load_crypto_strings(void);
|
|
void ERR_free_strings(void);
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
void SSL_load_error_strings(void);
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
ERR_load_crypto_strings() registers the error strings for all
|
|
B<libcrypto> functions. SSL_load_error_strings() does the same,
|
|
but also registers the B<libssl> error strings.
|
|
|
|
One of these functions should be called before generating
|
|
textual error messages. However, this is not required when memory
|
|
usage is an issue.
|
|
|
|
ERR_free_strings() frees all previously loaded error strings.
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
ERR_load_crypto_strings(), SSL_load_error_strings() and
|
|
ERR_free_strings() return no values.
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<err(3)>, L<ERR_error_string(3)>
|
|
|
|
=head1 HISTORY
|
|
|
|
ERR_load_error_strings(), SSL_load_error_strings() and
|
|
ERR_free_strings() are available in all versions of SSLeay and
|
|
OpenSSL.
|
|
|
|
=cut
|