summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/ERR_load_crypto_strings.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/ERR_load_crypto_strings.3')
-rw-r--r--src/lib/libcrypto/man/ERR_load_crypto_strings.329
1 files changed, 6 insertions, 23 deletions
diff --git a/src/lib/libcrypto/man/ERR_load_crypto_strings.3 b/src/lib/libcrypto/man/ERR_load_crypto_strings.3
index 5421781bcc..e3d60527d7 100644
--- a/src/lib/libcrypto/man/ERR_load_crypto_strings.3
+++ b/src/lib/libcrypto/man/ERR_load_crypto_strings.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ERR_load_crypto_strings.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $ 1.\" $OpenBSD: ERR_load_crypto_strings.3,v 1.8 2019/06/14 13:41:31 schwarze Exp $
2.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400 2.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,13 +65,12 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: March 27 2018 $ 68.Dd $Mdocdate: June 14 2019 $
69.Dt ERR_LOAD_CRYPTO_STRINGS 3 69.Dt ERR_LOAD_CRYPTO_STRINGS 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
72.Nm ERR_load_crypto_strings , 72.Nm ERR_load_crypto_strings ,
73.Nm ERR_free_strings , 73.Nm ERR_free_strings ,
74.Nm ERR_load_BN_strings ,
75.Nm SSL_load_error_strings 74.Nm SSL_load_error_strings
76.Nd load and free OpenSSL error strings 75.Nd load and free OpenSSL error strings
77.Sh SYNOPSIS 76.Sh SYNOPSIS
@@ -80,13 +79,14 @@
80.Fn ERR_load_crypto_strings void 79.Fn ERR_load_crypto_strings void
81.Ft void 80.Ft void
82.Fn ERR_free_strings void 81.Fn ERR_free_strings void
83.In openssl/bn.h
84.Ft void
85.Fn ERR_load_BN_strings void
86.In openssl/ssl.h 82.In openssl/ssl.h
87.Ft void 83.Ft void
88.Fn SSL_load_error_strings void 84.Fn SSL_load_error_strings void
89.Sh DESCRIPTION 85.Sh DESCRIPTION
86These functions are deprecated.
87It is never useful for any application program to call any of them explicitly.
88The library automatically calls them internally whenever needed.
89.Pp
90.Fn ERR_load_crypto_strings 90.Fn ERR_load_crypto_strings
91registers the error strings for all 91registers the error strings for all
92.Xr crypto 3 92.Xr crypto 3
@@ -96,23 +96,8 @@ does the same, but also registers the
96.Xr ssl 3 96.Xr ssl 3
97error strings. 97error strings.
98.Pp 98.Pp
99.Fn ERR_load_BN_strings
100only registers the error strings for the
101.Vt BIGNUM
102part of the library, i.e. the functions documented in
103.Xr BN_new 3
104and in the manual pages referenced from there.
105That may be useful if no other parts of the crypto library
106are used by the program.
107Similar functions exist for other parts of the crypto library,
108but they are not yet documented.
109.Pp
110If the error strings were already loaded before, no action occurs. 99If the error strings were already loaded before, no action occurs.
111.Pp 100.Pp
112One of these functions should be called before generating textual error
113messages.
114However, this is not required when memory usage is an issue.
115.Pp
116.Fn ERR_free_strings 101.Fn ERR_free_strings
117frees all previously loaded error strings. 102frees all previously loaded error strings.
118.Sh SEE ALSO 103.Sh SEE ALSO
@@ -124,8 +109,6 @@ and
124.Fn SSL_load_error_strings 109.Fn SSL_load_error_strings
125first appeared in SSLeay 0.4.4. 110first appeared in SSLeay 0.4.4.
126.Fn ERR_free_strings 111.Fn ERR_free_strings
127and
128.Fn ERR_load_BN_strings
129first appeared in SSLeay 0.5.1. 112first appeared in SSLeay 0.5.1.
130These functions been available since 113These functions been available since
131.Ox 2.4 . 114.Ox 2.4 .