summaryrefslogtreecommitdiff
path: root/lib/libcrypto/man/X509_ALGOR_dup.3
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-03-19 17:34:06 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-03-19 17:34:06 +0000
commit6b2b30418f9bd4e52765f71ab85896d40b9fa6a6 (patch)
treed334c078bf76f2452d488a663058648baa9105d9 /lib/libcrypto/man/X509_ALGOR_dup.3
parent7981bebc6fc22486d96333da53786555f3bc3662 (diff)
Remove X509_ALGOR_set_md() documentation
As far as LibreSSL is concerned, this terrible API is pushing up the daisies.
Diffstat (limited to 'lib/libcrypto/man/X509_ALGOR_dup.3')
-rw-r--r--lib/libcrypto/man/X509_ALGOR_dup.333
1 files changed, 2 insertions, 31 deletions
diff --git a/lib/libcrypto/man/X509_ALGOR_dup.3 b/lib/libcrypto/man/X509_ALGOR_dup.3
index 29fd9a60f47..ef7ca75863d 100644
--- a/lib/libcrypto/man/X509_ALGOR_dup.3
+++ b/lib/libcrypto/man/X509_ALGOR_dup.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509_ALGOR_dup.3,v 1.22 2023/10/13 05:49:34 tb Exp $
+.\" $OpenBSD: X509_ALGOR_dup.3,v 1.23 2024/03/19 17:34:05 tb Exp $
.\" OpenSSL 4692340e Jun 7 15:49:08 2016 -0400
.\"
.\" This file is a derived work.
@@ -66,7 +66,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 13 2023 $
+.Dd $Mdocdate: March 19 2024 $
.Dt X509_ALGOR_DUP 3
.Os
.Sh NAME
@@ -75,7 +75,6 @@
.Nm X509_ALGOR_dup ,
.Nm X509_ALGOR_set0 ,
.Nm X509_ALGOR_get0 ,
-.Nm X509_ALGOR_set_md ,
.Nm X509_ALGOR_cmp
.Nd create, change, and inspect algorithm identifiers
.Sh SYNOPSIS
@@ -102,11 +101,6 @@
.Fa "const void **ppval"
.Fa "const X509_ALGOR *alg"
.Fc
-.Ft void
-.Fo X509_ALGOR_set_md
-.Fa "X509_ALGOR *alg"
-.Fa "const EVP_MD *md"
-.Fc
.Ft int
.Fo X509_ALGOR_cmp
.Fa "const X509_ALGOR *a"
@@ -240,22 +234,6 @@ then
.Pf * Fa ppval Ns 's
value is undefined.
.Pp
-.Fn X509_ALGOR_set_md
-sets
-.Fa alg
-to appropriate values for the message digest
-.Fa md .
-If the
-.Dv EVP_MD_FLAG_DIGALGID_ABSENT
-flag is not set on
-.Fa md ,
-.Fn X509_ALGOR_set_md
-can leave
-.Fa alg
-in a corrupted state due to memory allocation failure.
-This problem can be avoided by preallocating with an error-checked call to
-.Fn X509_ALGOR_set0 alg NULL 0 NULL .
-.Pp
.Fn X509_ALGOR_cmp
compares
.Fa a
@@ -317,10 +295,3 @@ first appeared in OpenSSL 0.9.8h and have been available since
first appeared in OpenSSL 0.9.8zd, 1.0.0p, and 1.0.1k
and has been available since
.Ox 4.9 .
-.Pp
-.Fn X509_ALGOR_set_md
-first appeared in OpenSSL 1.0.1 and has been available since
-.Ox 5.3 .
-.Sh BUGS
-.Fn X509_ALGOR_set_md
-can fail but cannot communicate failure to the caller.