summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-05-22 09:44:10 +0000
committertb <>2024-05-22 09:44:10 +0000
commit2290dbcd032621fa2cada872b167afa988acbc21 (patch)
tree912d4e3b5830d082705556cf039a265253416d3d
parent0a2d291c9d2adec9b199b34a3c0624ac6bfca6a0 (diff)
downloadopenbsd-2290dbcd032621fa2cada872b167afa988acbc21.tar.gz
openbsd-2290dbcd032621fa2cada872b167afa988acbc21.tar.bz2
openbsd-2290dbcd032621fa2cada872b167afa988acbc21.zip
crib better wording from schwarze's EVP_PKEY_get_attr_by_NID(3)
-rw-r--r--src/lib/libcrypto/man/X509v3_get_ext_by_NID.39
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/X509v3_get_ext_by_NID.3 b/src/lib/libcrypto/man/X509v3_get_ext_by_NID.3
index 640a72a135..8c7c159f80 100644
--- a/src/lib/libcrypto/man/X509v3_get_ext_by_NID.3
+++ b/src/lib/libcrypto/man/X509v3_get_ext_by_NID.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509v3_get_ext_by_NID.3,v 1.14 2024/05/22 09:34:40 tb Exp $ 1.\" $OpenBSD: X509v3_get_ext_by_NID.3,v 1.15 2024/05/22 09:44:10 tb Exp $
2.\" full merge up to: OpenSSL fd38836b Jun 20 15:25:43 2018 +0100 2.\" full merge up to: OpenSSL fd38836b Jun 20 15:25:43 2018 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -379,13 +379,12 @@ if an error occurs.
379and 379and
380.Fn X509v3_get_ext_by_critical 380.Fn X509v3_get_ext_by_critical
381return the extension index or \-1 if an error occurs. 381return the extension index or \-1 if an error occurs.
382In addition 382In addition,
383.Fn X509v3_get_ext_by_NID 383.Fn X509v3_get_ext_by_NID
384returns \-2 if 384returns \-2 if
385.Xr OBJ_nid2obj 3 385.Xr OBJ_nid2obj 3
386fails, which happens if 386fails on the requested
387.Fa nid 387.Fa nid .
388has no corresponding table object.
389.Pp 388.Pp
390.Fn X509v3_add_ext 389.Fn X509v3_add_ext
391returns a stack of extensions or 390returns a stack of extensions or