diff options
author | job <> | 2024-02-13 12:38:43 +0000 |
---|---|---|
committer | job <> | 2024-02-13 12:38:43 +0000 |
commit | 16c8a1ea3629772fdd16fd22a98ba46545e9e3a1 (patch) | |
tree | 86ba7ad4806950e4f12f9f18e1ff3349e0663dac /src | |
parent | 727570cd15ee35808c39e9a372d52e951495d0ac (diff) | |
download | openbsd-16c8a1ea3629772fdd16fd22a98ba46545e9e3a1.tar.gz openbsd-16c8a1ea3629772fdd16fd22a98ba46545e9e3a1.tar.bz2 openbsd-16c8a1ea3629772fdd16fd22a98ba46545e9e3a1.zip |
Document a portability caveat about GeneralizedTime and UTCTime
OK tb@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3 b/src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3 index 6d79ae403c..d544af0fe4 100644 --- a/src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3 +++ b/src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: d2i_ASN1_OCTET_STRING.3,v 1.19 2022/09/12 14:36:09 tb Exp $ | 1 | .\" $OpenBSD: d2i_ASN1_OCTET_STRING.3,v 1.20 2024/02/13 12:38:43 job Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2017 Ingo Schwarze <schwarze@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: September 12 2022 $ | 17 | .Dd $Mdocdate: February 13 2024 $ |
18 | .Dt D2I_ASN1_OCTET_STRING 3 | 18 | .Dt D2I_ASN1_OCTET_STRING 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -452,3 +452,10 @@ and | |||
452 | .Fn i2d_ASN1_GENERALSTRING | 452 | .Fn i2d_ASN1_GENERALSTRING |
453 | first appeared in OpenSSL 0.9.7 and have been available since | 453 | first appeared in OpenSSL 0.9.7 and have been available since |
454 | .Ox 3.2 . | 454 | .Ox 3.2 . |
455 | .Sh CAVEATS | ||
456 | Other implementations may accept or emit invalid DER encodings of | ||
457 | GeneralizedTime and UTCTime. | ||
458 | Portable applications should use | ||
459 | .Fn ASN1_STRING_length | ||
460 | to double check whether a given GeneralizedTime or UTCTime object is at least | ||
461 | 15 or 13 bytes, respectively. | ||