diff options
author | tb <> | 2023-05-12 08:12:09 +0000 |
---|---|---|
committer | tb <> | 2023-05-12 08:12:09 +0000 |
commit | 42b455fd80e56ab7471700f35e0b45c0b52a78a5 (patch) | |
tree | 91b1a5b260a0aa8c8afa2747df3c42ed6a92a974 /src/lib | |
parent | b1d5ab99e6b7240a2a1702acde6c3e0515ac15b7 (diff) | |
download | openbsd-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.3 | 11 |
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 | |||
135 | and | 135 | and |
136 | .Fa ctx | 136 | .Fa ctx |
137 | arguments are ignored. | 137 | arguments are ignored. |
138 | Every pair of hexadecimal digits is converted into an octet, while | 138 | Every pair of hexadecimal digits is converted into an octet. |
139 | any number of colons separating two pairs are ignored. | 139 | Colons are ignored if they are at the start, the end or |
140 | if they separate two pairs of digits. | ||
140 | .Pp | 141 | .Pp |
141 | .Fn i2s_ASN1_ENUMERATED_TABLE | 142 | .Fn i2s_ASN1_ENUMERATED_TABLE |
142 | uses strings provided in the usr_data field of the non-NULL | 143 | uses strings provided in the usr_data field of the non-NULL |
@@ -187,7 +188,7 @@ or NULL on error. | |||
187 | Error conditions are memory allocation failure or if | 188 | Error conditions are memory allocation failure or if |
188 | .Fa value | 189 | .Fa value |
189 | contains an odd number of hexadecimal digits or anything except | 190 | contains an odd number of hexadecimal digits or anything except |
190 | colons between pairs of hexadecimal digits. | 191 | colons at the start, the end or between pairs of hexadecimal digits. |
191 | .Pp | 192 | .Pp |
192 | Error codes can sometimes be obtained by | 193 | Error codes can sometimes be obtained by |
193 | .Xr ERR_get_error 3 . | 194 | .Xr ERR_get_error 3 . |