From a61c55adcb4c7b4a34588b5cbe23d50f24b106dc Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Mon, 23 Dec 2024 03:03:45 +0000 Subject: Make the description of i2s_ASN1_ENUMERATED_TABLE(3) more precise, fix the name of its last parameter in the SYNOPSIS to match the DESCRIPTION, and let the .Dt argument match the file name. --- src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 b/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 index 0f0cf29196..5455b5d224 100644 --- a/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 +++ b/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.6 2023/10/01 10:51:19 tb Exp $ +.\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.7 2024/12/23 03:03:45 schwarze Exp $ .\" .\" Copyright (c) 2023 Theo Buehler .\" @@ -14,8 +14,8 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 1 2023 $ -.Dt I2S_ASN1_INTEGER 3 +.Dd $Mdocdate: December 23 2024 $ +.Dt S2I_ASN1_INTEGER 3 .Os .Sh NAME .Nm i2s_ASN1_ENUMERATED , @@ -57,7 +57,7 @@ .Ft "char *" .Fo i2s_ASN1_ENUMERATED_TABLE .Fa "X509V3_EXT_METHOD *method" -.Fa "const ASN1_ENUMERATED *aenum" +.Fa "const ASN1_ENUMERATED *a" .Fc .Sh DESCRIPTION These functions convert to and from @@ -140,12 +140,15 @@ Colons are ignored if they are at the start, the end or if they separate two pairs of digits. .Pp .Fn i2s_ASN1_ENUMERATED_TABLE -uses strings provided in the usr_data field of the non-NULL -.Fa method -to convert the value of +looks up the value of .Fa a -into a string. -If no such string is available, +in the +.Fa usr_data +field of the +.Pf non- Dv NULL +.Fa method +and returns a copy of the associated long name. +If no match is found, .Fa a is passed to .Fn i2s_ASN1_ENUMERATED . -- cgit v1.2.3-55-g6feb