summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-05-22 09:44:11 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-05-22 09:44:11 +0000
commit64567e5aa3fa6d98ef33395ddc4e0de9ea594f44 (patch)
treef2e7f7a38d1a500ff5b57da8ec7744f400f4c720 /lib
parente9c6211270fff7c455737efe3fd947f3d4bf8423 (diff)
crib better wording from schwarze's EVP_PKEY_get_attr_by_NID(3)
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/X509v3_get_ext_by_NID.39
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libcrypto/man/X509v3_get_ext_by_NID.3 b/lib/libcrypto/man/X509v3_get_ext_by_NID.3
index 640a72a1358..8c7c159f806 100644
--- a/lib/libcrypto/man/X509v3_get_ext_by_NID.3
+++ b/lib/libcrypto/man/X509v3_get_ext_by_NID.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509v3_get_ext_by_NID.3,v 1.14 2024/05/22 09:34:40 tb Exp $
+.\" $OpenBSD: X509v3_get_ext_by_NID.3,v 1.15 2024/05/22 09:44:10 tb Exp $
.\" full merge up to: OpenSSL fd38836b Jun 20 15:25:43 2018 +0100
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -379,13 +379,12 @@ if an error occurs.
and
.Fn X509v3_get_ext_by_critical
return the extension index or \-1 if an error occurs.
-In addition
+In addition,
.Fn X509v3_get_ext_by_NID
returns \-2 if
.Xr OBJ_nid2obj 3
-fails, which happens if
-.Fa nid
-has no corresponding table object.
+fails on the requested
+.Fa nid .
.Pp
.Fn X509v3_add_ext
returns a stack of extensions or