2000-02-01 01:37:00 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
|
2000-02-24 11:55:57 +00:00
|
|
|
load and free error strings
|
2000-02-01 01:37:00 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2016-04-04 12:43:58 +00:00
|
|
|
Deprecated:
|
|
|
|
|
2000-02-01 01:37:00 +00:00
|
|
|
#include <openssl/err.h>
|
|
|
|
|
2016-04-04 12:43:58 +00:00
|
|
|
#if OPENSSL_API_COMPAT < 0x10100000L
|
2016-04-06 10:13:25 +00:00
|
|
|
void ERR_load_crypto_strings(void);
|
|
|
|
void ERR_free_strings(void);
|
2016-04-04 12:43:58 +00:00
|
|
|
#endif
|
2000-02-01 01:37:00 +00:00
|
|
|
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
|
2016-04-04 12:43:58 +00:00
|
|
|
#if OPENSSL_API_COMPAT < 0x10100000L
|
2016-04-06 10:13:25 +00:00
|
|
|
void SSL_load_error_strings(void);
|
2016-04-04 12:43:58 +00:00
|
|
|
#endif
|
2016-05-20 12:11:46 +00:00
|
|
|
|
2000-02-01 01:37:00 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2016-04-04 12:43:58 +00:00
|
|
|
All of the following functions are deprecated from OpenSSL 1.1.0. No explicit
|
|
|
|
initialisation or de-initialisation is necessary. See L<OPENSSL_init_crypto(3)>
|
|
|
|
and L<OPENSSL_init_ssl(3)>.
|
|
|
|
|
2000-02-01 01:37:00 +00:00
|
|
|
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.
|
|
|
|
|
2016-04-04 12:43:58 +00:00
|
|
|
In versions of OpenSSL prior to 1.1.0 ERR_free_strings() freed all previously
|
|
|
|
loaded error strings. However from OpenSSL 1.1.0 it does nothing.
|
2000-02-01 01:37:00 +00:00
|
|
|
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
|
|
|
|
ERR_load_crypto_strings(), SSL_load_error_strings() and
|
|
|
|
ERR_free_strings() return no values.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2017-03-02 15:07:21 +00:00
|
|
|
L<ERR_error_string(3)>
|
2000-02-01 01:37:00 +00:00
|
|
|
|
2016-02-09 16:52:40 +00:00
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
The ERR_load_crypto_strings(), SSL_load_error_strings(), and
|
|
|
|
ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by
|
|
|
|
OPENSSL_init_crypto() and OPENSSL_init_ssl().
|
|
|
|
|
2016-05-18 15:44:05 +00:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2017-03-02 15:07:21 +00:00
|
|
|
Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 15:44:05 +00:00
|
|
|
|
|
|
|
Licensed under the OpenSSL license (the "License"). You may not use
|
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|