summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-05-12 08:12:09 +0000
committertb <>2023-05-12 08:12:09 +0000
commit42b455fd80e56ab7471700f35e0b45c0b52a78a5 (patch)
tree91b1a5b260a0aa8c8afa2747df3c42ed6a92a974 /src/lib
parentb1d5ab99e6b7240a2a1702acde6c3e0515ac15b7 (diff)
downloadopenbsd-42b455fd80e56ab7471700f35e0b45c0b52a78a5.tar.gz
openbsd-42b455fd80e56ab7471700f35e0b45c0b52a78a5.tar.bz2
openbsd-42b455fd80e56ab7471700f35e0b45c0b52a78a5.zip
Be a bit more precise on how s2i_ASN1_OCTET_STRING handles colons
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/s2i_ASN1_INTEGER.311
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 b/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3
index 39257d4a13..87a3d006ae 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.4 2023/04/21 13:08:16 tb Exp $ 1.\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.5 2023/05/12 08:12:09 tb Exp $
2.\" 2.\"
3.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 3.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
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: April 21 2023 $ 17.Dd $Mdocdate: May 12 2023 $
18.Dt I2S_ASN1_INTEGER 3 18.Dt I2S_ASN1_INTEGER 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -135,8 +135,9 @@ The
135and 135and
136.Fa ctx 136.Fa ctx
137arguments are ignored. 137arguments are ignored.
138Every pair of hexadecimal digits is converted into an octet, while 138Every pair of hexadecimal digits is converted into an octet.
139any number of colons separating two pairs are ignored. 139Colons are ignored if they are at the start, the end or
140if they separate two pairs of digits.
140.Pp 141.Pp
141.Fn i2s_ASN1_ENUMERATED_TABLE 142.Fn i2s_ASN1_ENUMERATED_TABLE
142uses strings provided in the usr_data field of the non-NULL 143uses strings provided in the usr_data field of the non-NULL
@@ -187,7 +188,7 @@ or NULL on error.
187Error conditions are memory allocation failure or if 188Error conditions are memory allocation failure or if
188.Fa value 189.Fa value
189contains an odd number of hexadecimal digits or anything except 190contains an odd number of hexadecimal digits or anything except
190colons between pairs of hexadecimal digits. 191colons at the start, the end or between pairs of hexadecimal digits.
191.Pp 192.Pp
192Error codes can sometimes be obtained by 193Error codes can sometimes be obtained by
193.Xr ERR_get_error 3 . 194.Xr ERR_get_error 3 .