summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/man/Makefile4
-rw-r--r--lib/libcrypto/man/OBJ_add_sigid.390
2 files changed, 2 insertions, 92 deletions
diff --git a/lib/libcrypto/man/Makefile b/lib/libcrypto/man/Makefile
index 1039aa0bf08..99e1af1698a 100644
--- a/lib/libcrypto/man/Makefile
+++ b/lib/libcrypto/man/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.255 2023/07/21 04:50:47 tb Exp $
+# $OpenBSD: Makefile,v 1.256 2023/07/22 06:34:59 tb Exp $
.include <bsd.own.mk>
@@ -214,8 +214,8 @@ MAN= \
MD5.3 \
NAME_CONSTRAINTS_new.3 \
OBJ_NAME_add.3 \
- OBJ_add_sigid.3 \
OBJ_create.3 \
+ OBJ_find_sigid_algs.3 \
OBJ_nid2obj.3 \
OCSP_CRLID_new.3 \
OCSP_REQUEST_new.3 \
diff --git a/lib/libcrypto/man/OBJ_add_sigid.3 b/lib/libcrypto/man/OBJ_add_sigid.3
deleted file mode 100644
index 685fbfa07fe..00000000000
--- a/lib/libcrypto/man/OBJ_add_sigid.3
+++ /dev/null
@@ -1,90 +0,0 @@
-.\" $OpenBSD: OBJ_add_sigid.3,v 1.2 2023/07/21 05:02:53 tb Exp $
-.\"
-.\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org>
-.\"
-.\" Permission to use, copy, modify, and distribute this software for any
-.\" purpose with or without fee is hereby granted, provided that the above
-.\" copyright notice and this permission notice appear in all copies.
-.\"
-.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\"
-.Dd $Mdocdate: July 21 2023 $
-.Dt OBJ_ADD_SIGID 3
-.Os
-.Sh NAME
-.Nm OBJ_find_sigid_algs ,
-.Nm OBJ_find_sigid_by_algs
-.Nd signature algorithm mappings
-.Sh SYNOPSIS
-.In openssl/objects.h
-.Ft int
-.Fo OBJ_find_sigid_algs
-.Fa "int signature"
-.Fa "int *pdigest"
-.Fa "int *pencryption"
-.Fc
-.Ft int
-.Fo OBJ_find_sigid_by_algs
-.Fa "int *psignature"
-.Fa "int digest"
-.Fa "int encryption"
-.Fc
-.Sh DESCRIPTION
-.Fn OBJ_find_sigid_algs
-looks up the
-.Fa signature
-algorithm.
-If it is found, the associated digest algorithm is stored in
-.Pf * Fa pdigest
-unless
-.Fa pdigest
-is a
-.Dv NULL
-pointer, and the associated encryption algorithm is stored in
-.Pf * Fa pencryption
-unless
-.Fa pencryption
-is a
-.Dv NULL
-pointer.
-.Pp
-.Fn OBJ_find_sigid_by_algs
-looks up the pair
-.Pq Fa digest , encryption .
-If it is found, the associated signature algorithm is stored in
-.Pf * Fa psignature
-unless
-.Fa psignature
-is a
-.Dv NULL
-pointer.
-.Sh RETURN VALUES
-.Fn OBJ_find_sigid_algs
-returns 1 if a definition of the
-.Fa signature
-algorithm is found or 0 if a definition of the
-.Fa signature
-algorithm is not built into the library.
-.Pp
-.Fn OBJ_find_sigid_by_algs
-returns 1 if a signature algorithm using the specified
-.Fa digest
-and
-.Fa encryption
-algorithms is defined or 0 if the definition of such an algorithm
-is not built into the library.
-.Sh SEE ALSO
-.Xr EVP_cleanup 3 ,
-.Xr OBJ_create 3 ,
-.Xr OBJ_NAME_add 3 ,
-.Xr OBJ_nid2obj 3
-.Sh HISTORY
-These functions first appeared in OpenSSL 1.0.0
-and have been available since
-.Ox 4.9 .