From: tb Date: Wed, 22 May 2024 09:44:10 +0000 (+0000) Subject: crib better wording from schwarze's EVP_PKEY_get_attr_by_NID(3) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ba221238f26d3b91ac94fd0acc4858f854918ee1;p=openbsd crib better wording from schwarze's EVP_PKEY_get_attr_by_NID(3) --- 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 . @@ -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