diff options
| author | jsing <> | 2015-10-02 15:35:30 +0000 |
|---|---|---|
| committer | jsing <> | 2015-10-02 15:35:30 +0000 |
| commit | 9e98e8a3921fd298877140c939a2a8521d1638b4 (patch) | |
| tree | 412a1c95817aade056d1306fe6f01f2391a7e0d0 /src | |
| parent | 0fdba47b730ef7a8d2107e42c5db7b2a3e008a8f (diff) | |
| download | openbsd-9e98e8a3921fd298877140c939a2a8521d1638b4.tar.gz openbsd-9e98e8a3921fd298877140c939a2a8521d1638b4.tar.bz2 openbsd-9e98e8a3921fd298877140c939a2a8521d1638b4.zip | |
Add another invalid time, which is currently accepted.
Diffstat (limited to '')
| -rw-r--r-- | src/regress/lib/libcrypto/asn1/asn1time.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/asn1/asn1time.c b/src/regress/lib/libcrypto/asn1/asn1time.c index 033172a129..b6875c5f37 100644 --- a/src/regress/lib/libcrypto/asn1/asn1time.c +++ b/src/regress/lib/libcrypto/asn1/asn1time.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: asn1time.c,v 1.2 2015/09/25 17:46:32 jsing Exp $ */ | 1 | /* $OpenBSD: asn1time.c,v 1.3 2015/10/02 15:35:30 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -51,6 +51,9 @@ struct asn1_time_test asn1_invtime_tests[] = { | |||
| 51 | .str = "20150923032700.123", | 51 | .str = "20150923032700.123", |
| 52 | }, | 52 | }, |
| 53 | { | 53 | { |
| 54 | .str = "20150923032700+1.09", | ||
| 55 | }, | ||
| 56 | { | ||
| 54 | .str = "20150923032700+1100Z", | 57 | .str = "20150923032700+1100Z", |
| 55 | }, | 58 | }, |
| 56 | { | 59 | { |
