diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-05-22 09:44:11 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-05-22 09:44:11 +0000 |
commit | 64567e5aa3fa6d98ef33395ddc4e0de9ea594f44 (patch) | |
tree | f2e7f7a38d1a500ff5b57da8ec7744f400f4c720 /lib | |
parent | e9c6211270fff7c455737efe3fd947f3d4bf8423 (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.3 | 9 |
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 |