diff options
Diffstat (limited to 'src/lib/libcrypto/man/ERR_load_crypto_strings.3')
| -rw-r--r-- | src/lib/libcrypto/man/ERR_load_crypto_strings.3 | 128 |
1 files changed, 0 insertions, 128 deletions
diff --git a/src/lib/libcrypto/man/ERR_load_crypto_strings.3 b/src/lib/libcrypto/man/ERR_load_crypto_strings.3 deleted file mode 100644 index 4ad12659a5..0000000000 --- a/src/lib/libcrypto/man/ERR_load_crypto_strings.3 +++ /dev/null | |||
| @@ -1,128 +0,0 @@ | |||
| 1 | .\" $OpenBSD: ERR_load_crypto_strings.3,v 1.9 2020/06/04 20:06:04 schwarze Exp $ | ||
| 2 | .\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500 | ||
| 3 | .\" selective merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400 | ||
| 4 | .\" | ||
| 5 | .\" This file is a derived work. | ||
| 6 | .\" The changes are covered by the following Copyright and license: | ||
| 7 | .\" | ||
| 8 | .\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> | ||
| 9 | .\" | ||
| 10 | .\" Permission to use, copy, modify, and distribute this software for any | ||
| 11 | .\" purpose with or without fee is hereby granted, provided that the above | ||
| 12 | .\" copyright notice and this permission notice appear in all copies. | ||
| 13 | .\" | ||
| 14 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 15 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 16 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 17 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 18 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 19 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 20 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 21 | .\" | ||
| 22 | .\" The original file was written by Ulf Moeller <ulf@openssl.org>. | ||
| 23 | .\" Copyright (c) 2000 The OpenSSL Project. All rights reserved. | ||
| 24 | .\" | ||
| 25 | .\" Redistribution and use in source and binary forms, with or without | ||
| 26 | .\" modification, are permitted provided that the following conditions | ||
| 27 | .\" are met: | ||
| 28 | .\" | ||
| 29 | .\" 1. Redistributions of source code must retain the above copyright | ||
| 30 | .\" notice, this list of conditions and the following disclaimer. | ||
| 31 | .\" | ||
| 32 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
| 33 | .\" notice, this list of conditions and the following disclaimer in | ||
| 34 | .\" the documentation and/or other materials provided with the | ||
| 35 | .\" distribution. | ||
| 36 | .\" | ||
| 37 | .\" 3. All advertising materials mentioning features or use of this | ||
| 38 | .\" software must display the following acknowledgment: | ||
| 39 | .\" "This product includes software developed by the OpenSSL Project | ||
| 40 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
| 41 | .\" | ||
| 42 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 43 | .\" endorse or promote products derived from this software without | ||
| 44 | .\" prior written permission. For written permission, please contact | ||
| 45 | .\" openssl-core@openssl.org. | ||
| 46 | .\" | ||
| 47 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
| 48 | .\" nor may "OpenSSL" appear in their names without prior written | ||
| 49 | .\" permission of the OpenSSL Project. | ||
| 50 | .\" | ||
| 51 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
| 52 | .\" acknowledgment: | ||
| 53 | .\" "This product includes software developed by the OpenSSL Project | ||
| 54 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
| 55 | .\" | ||
| 56 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 57 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 58 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 59 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 60 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 61 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 62 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 63 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 64 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 65 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 68 | .\" | ||
| 69 | .Dd $Mdocdate: June 4 2020 $ | ||
| 70 | .Dt ERR_LOAD_CRYPTO_STRINGS 3 | ||
| 71 | .Os | ||
| 72 | .Sh NAME | ||
| 73 | .Nm ERR_load_crypto_strings , | ||
| 74 | .Nm ERR_free_strings , | ||
| 75 | .Nm SSL_load_error_strings | ||
| 76 | .Nd load and free OpenSSL error strings | ||
| 77 | .\" The function ERR_load_ERR_strings() is intentionally undocumented | ||
| 78 | .\" because it is merely a subroutine of ERR_load_crypto_strings(3) | ||
| 79 | .\" and should not have been made a part of the API. | ||
| 80 | .\" The same applies to the other ERR_load_*_strings() functions. | ||
| 81 | .Sh SYNOPSIS | ||
| 82 | .In openssl/err.h | ||
| 83 | .Ft void | ||
| 84 | .Fn ERR_load_crypto_strings void | ||
| 85 | .Ft void | ||
| 86 | .Fn ERR_free_strings void | ||
| 87 | .In openssl/ssl.h | ||
| 88 | .Ft void | ||
| 89 | .Fn SSL_load_error_strings void | ||
| 90 | .Sh DESCRIPTION | ||
| 91 | These functions are deprecated. | ||
| 92 | It is never useful for any application program to call any of them explicitly. | ||
| 93 | The library automatically calls them internally whenever needed. | ||
| 94 | .Pp | ||
| 95 | .Fn ERR_load_crypto_strings | ||
| 96 | registers the error strings for all | ||
| 97 | .Xr crypto 3 | ||
| 98 | functions. | ||
| 99 | .Fn SSL_load_error_strings | ||
| 100 | does the same, but also registers the | ||
| 101 | .Xr ssl 3 | ||
| 102 | error strings. | ||
| 103 | .Pp | ||
| 104 | If the error strings were already loaded before, no action occurs. | ||
| 105 | .Pp | ||
| 106 | .Fn ERR_free_strings | ||
| 107 | frees all previously loaded error strings. | ||
| 108 | .Sh SEE ALSO | ||
| 109 | .Xr ERR 3 , | ||
| 110 | .Xr ERR_error_string 3 , | ||
| 111 | .Xr OPENSSL_config 3 | ||
| 112 | .Sh HISTORY | ||
| 113 | .Fn ERR_load_crypto_strings | ||
| 114 | and | ||
| 115 | .Fn SSL_load_error_strings | ||
| 116 | first appeared in SSLeay 0.4.4. | ||
| 117 | .Fn ERR_free_strings | ||
| 118 | first appeared in SSLeay 0.5.1. | ||
| 119 | These functions been available since | ||
| 120 | .Ox 2.4 . | ||
| 121 | .Sh BUGS | ||
| 122 | Even though the error strings are already compiled into the object | ||
| 123 | code of the library as static strings, these functions store them | ||
| 124 | again using dynamically allocated memory on the heap. | ||
| 125 | That may fail if insufficient memory is available, | ||
| 126 | but these functions do not report such errors. | ||
| 127 | Instead, they fail silently, possibly having registered none or only | ||
| 128 | a part of the strings requested. | ||
