From a53df2ba6ef7d529e09520937003c602cdbed546 Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 29 Aug 2024 20:23:21 +0000 Subject: Remove documentation of ERR_add_error_{,v}data() --- src/lib/libcrypto/man/ERR_put_error.3 | 41 ++++------------------------------- 1 file changed, 4 insertions(+), 37 deletions(-) (limited to 'src/lib/libcrypto/man/ERR_put_error.3') diff --git a/src/lib/libcrypto/man/ERR_put_error.3 b/src/lib/libcrypto/man/ERR_put_error.3 index 7eac5e415c..37e1b4d1ab 100644 --- a/src/lib/libcrypto/man/ERR_put_error.3 +++ b/src/lib/libcrypto/man/ERR_put_error.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ERR_put_error.3,v 1.10 2022/03/31 17:27:16 naddy Exp $ +.\" $OpenBSD: ERR_put_error.3,v 1.11 2024/08/29 20:23:21 tb Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Ulf Moeller . @@ -48,13 +48,11 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 31 2022 $ +.Dd $Mdocdate: August 29 2024 $ .Dt ERR_PUT_ERROR 3 .Os .Sh NAME -.Nm ERR_put_error , -.Nm ERR_add_error_data , -.Nm ERR_add_error_vdata +.Nm ERR_put_error .Nd record an OpenSSL error .Sh SYNOPSIS .In openssl/err.h @@ -66,16 +64,6 @@ .Fa "const char *file" .Fa "int line" .Fc -.Ft void -.Fo ERR_add_error_data -.Fa "int num" -.Fa ... -.Fc -.Ft void -.Fo ERR_add_error_vdata -.Fa "int num" -.Fa "va_list arg" -.Fc .Sh DESCRIPTION .Fn ERR_put_error adds an error code to the thread's error queue. @@ -91,20 +79,6 @@ of .Fa file . This function is usually called by a macro. .Pp -.Fn ERR_add_error_data -associates the concatenation of its -.Fa num -string arguments with the error code added last. -.Fn ERR_add_error_vdata -is similar except the argument is a -.Vt va_list . -Use of -.Fn ERR_add_error_data -and -.Fn ERR_add_error_vdata -is deprecated inside of LibreSSL in favour of -.Xr ERR_asprintf_error_data 3 . -.Pp .Xr ERR_load_strings 3 can be used to register error strings so that the application can generate human-readable error messages for the error code. @@ -147,12 +121,5 @@ macro. .Xr ERR_load_strings 3 .Sh HISTORY .Fn ERR_put_error -first appeared in SSLeay 0.4.4. -.Fn ERR_add_error_data -first appeared in SSLeay 0.9.0. -Both functions have been available since +first appeared in SSLeay 0.4.4 and has been available since .Ox 2.4 . -.Pp -.Fn ERR_add_error_vdata -first appeared in OpenSSL 1.0.1 and has been available since -.Ox 5.3 . -- cgit v1.2.3-55-g6feb