summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2024-12-23 03:03:45 +0000
committerschwarze <>2024-12-23 03:03:45 +0000
commita61c55adcb4c7b4a34588b5cbe23d50f24b106dc (patch)
tree411155bd25ef286ce4f97c49bf3bb14edfdbd01b /src
parentd7f30c3c96e553acb03f0fae31a7cd32a013a068 (diff)
downloadopenbsd-a61c55adcb4c7b4a34588b5cbe23d50f24b106dc.tar.gz
openbsd-a61c55adcb4c7b4a34588b5cbe23d50f24b106dc.tar.bz2
openbsd-a61c55adcb4c7b4a34588b5cbe23d50f24b106dc.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/s2i_ASN1_INTEGER.321
1 files changed, 12 insertions, 9 deletions
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 @@
1.\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.6 2023/10/01 10:51:19 tb Exp $ 1.\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.7 2024/12/23 03:03:45 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 3.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
4.\" 4.\"
@@ -14,8 +14,8 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: October 1 2023 $ 17.Dd $Mdocdate: December 23 2024 $
18.Dt I2S_ASN1_INTEGER 3 18.Dt S2I_ASN1_INTEGER 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
21.Nm i2s_ASN1_ENUMERATED , 21.Nm i2s_ASN1_ENUMERATED ,
@@ -57,7 +57,7 @@
57.Ft "char *" 57.Ft "char *"
58.Fo i2s_ASN1_ENUMERATED_TABLE 58.Fo i2s_ASN1_ENUMERATED_TABLE
59.Fa "X509V3_EXT_METHOD *method" 59.Fa "X509V3_EXT_METHOD *method"
60.Fa "const ASN1_ENUMERATED *aenum" 60.Fa "const ASN1_ENUMERATED *a"
61.Fc 61.Fc
62.Sh DESCRIPTION 62.Sh DESCRIPTION
63These functions convert to and from 63These functions convert to and from
@@ -140,12 +140,15 @@ Colons are ignored if they are at the start, the end or
140if they separate two pairs of digits. 140if they separate two pairs of digits.
141.Pp 141.Pp
142.Fn i2s_ASN1_ENUMERATED_TABLE 142.Fn i2s_ASN1_ENUMERATED_TABLE
143uses strings provided in the usr_data field of the non-NULL 143looks up the value of
144.Fa method
145to convert the value of
146.Fa a 144.Fa a
147into a string. 145in the
148If no such string is available, 146.Fa usr_data
147field of the
148.Pf non- Dv NULL
149.Fa method
150and returns a copy of the associated long name.
151If no match is found,
149.Fa a 152.Fa a
150is passed to 153is passed to
151.Fn i2s_ASN1_ENUMERATED . 154.Fn i2s_ASN1_ENUMERATED .