summaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/man/ERR_load_crypto_strings.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/ERR_load_crypto_strings.3')
-rw-r--r--secure/lib/libcrypto/man/ERR_load_crypto_strings.336
1 files changed, 23 insertions, 13 deletions
diff --git a/secure/lib/libcrypto/man/ERR_load_crypto_strings.3 b/secure/lib/libcrypto/man/ERR_load_crypto_strings.3
index be3eb65a635f..b10e29f5f556 100644
--- a/secure/lib/libcrypto/man/ERR_load_crypto_strings.3
+++ b/secure/lib/libcrypto/man/ERR_load_crypto_strings.3
@@ -128,26 +128,31 @@
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
-.IX Title "ERR_load_crypto_strings 3"
-.TH ERR_load_crypto_strings 3 "2018-08-14" "1.0.2p" "OpenSSL"
+.IX Title "ERR_LOAD_CRYPTO_STRINGS 3"
+.TH ERR_LOAD_CRYPTO_STRINGS 3 "2018-09-11" "1.1.1" "OpenSSL"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings \-
-load and free error strings
+ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings \- load and free error strings
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
+Deprecated:
+.PP
.Vb 1
\& #include <openssl/err.h>
\&
+\& #if OPENSSL_API_COMPAT < 0x10100000L
\& void ERR_load_crypto_strings(void);
\& void ERR_free_strings(void);
+\& #endif
\&
\& #include <openssl/ssl.h>
\&
+\& #if OPENSSL_API_COMPAT < 0x10100000L
\& void SSL_load_error_strings(void);
+\& #endif
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
@@ -155,20 +160,25 @@ load and free error strings
\&\fBlibcrypto\fR functions. \fISSL_load_error_strings()\fR does the same,
but also registers the \fBlibssl\fR error strings.
.PP
-One of these functions should be called before generating
-textual error messages. However, this is not required when memory
-usage is an issue.
-.PP
-\&\fIERR_free_strings()\fR frees all previously loaded error strings.
+In versions prior to OpenSSL 1.1.0,
+\&\fIERR_free_strings()\fR releases any resources created by the above functions.
.SH "RETURN VALUES"
.IX Header "RETURN VALUES"
\&\fIERR_load_crypto_strings()\fR, \fISSL_load_error_strings()\fR and
\&\fIERR_free_strings()\fR return no values.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
-\&\fIerr\fR\|(3), \fIERR_error_string\fR\|(3)
+\&\fIERR_error_string\fR\|(3)
.SH "HISTORY"
.IX Header "HISTORY"
-\&\fIERR_load_error_strings()\fR, \fISSL_load_error_strings()\fR and
-\&\fIERR_free_strings()\fR are available in all versions of SSLeay and
-OpenSSL.
+The \fIERR_load_crypto_strings()\fR, \fISSL_load_error_strings()\fR, and
+\&\fIERR_free_strings()\fR functions were deprecated in OpenSSL 1.1.0 by
+\&\fIOPENSSL_init_crypto()\fR and \fIOPENSSL_init_ssl()\fR and should not be used.
+.SH "COPYRIGHT"
+.IX Header "COPYRIGHT"
+Copyright 2000\-2017 The OpenSSL Project Authors. All Rights Reserved.
+.PP
+Licensed under the OpenSSL license (the \*(L"License\*(R"). You may not use
+this file except in compliance with the License. You can obtain a copy
+in the file \s-1LICENSE\s0 in the source distribution or at
+<https://www.openssl.org/source/license.html>.