summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2015-10-02 15:35:30 +0000
committerjsing <>2015-10-02 15:35:30 +0000
commitf7036a0cf89d100fc7d8f484446d4492fdabf534 (patch)
tree412a1c95817aade056d1306fe6f01f2391a7e0d0
parent61992d68f1934e7e4171e633f39fb76a4654b5a2 (diff)
downloadopenbsd-f7036a0cf89d100fc7d8f484446d4492fdabf534.tar.gz
openbsd-f7036a0cf89d100fc7d8f484446d4492fdabf534.tar.bz2
openbsd-f7036a0cf89d100fc7d8f484446d4492fdabf534.zip
Add another invalid time, which is currently accepted.
-rw-r--r--src/regress/lib/libcrypto/asn1/asn1time.c5
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 {