]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: what bozo decided to use 2020 as a future date in a regress
authordjm@openbsd.org <djm@openbsd.org>
Fri, 3 Jan 2020 03:02:26 +0000 (03:02 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 3 Jan 2020 23:14:21 +0000 (10:14 +1100)
test?

OpenBSD-Regress-ID: 3b953df5a7e14081ff6cf495d4e8d40e153cbc3a

regress/cert-hostkey.sh
regress/cert-userkey.sh

index 95d7c176a7b9d5b7f11781f6c9d8b1d3a89c007e..097bf846346cd9634f93f3571f3eb95f522665dd 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: cert-hostkey.sh,v 1.22 2019/12/16 02:39:05 djm Exp $
+#      $OpenBSD: cert-hostkey.sh,v 1.23 2020/01/03 03:02:26 djm Exp $
 #      Placed in the Public Domain.
 
 tid="certified host keys"
@@ -252,7 +252,7 @@ test_one() {
 test_one "user-certificate"    failure "-n $HOSTS"
 test_one "empty principals"    success "-h"
 test_one "wrong principals"    failure "-h -n foo"
-test_one "cert not yet valid"  failure "-h -V20200101:20300101"
+test_one "cert not yet valid"  failure "-h -V20300101:20320101"
 test_one "cert expired"                failure "-h -V19800101:19900101"
 test_one "cert valid interval" success "-h -V-1w:+2w"
 test_one "cert has constraints"        failure "-h -Oforce-command=false"
index 87d30d27b60ab72d84b02102768bb2241c51b758..91596fa789c016b715fd78f7e63e96e9a689dab3 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: cert-userkey.sh,v 1.24 2019/12/11 18:47:14 djm Exp $
+#      $OpenBSD: cert-userkey.sh,v 1.25 2020/01/03 03:02:26 djm Exp $
 #      Placed in the Public Domain.
 
 tid="certified user keys"
@@ -340,7 +340,7 @@ test_one() {
 test_one "correct principal"   success "-n ${USER}"
 test_one "host-certificate"    failure "-n ${USER} -h"
 test_one "wrong principals"    failure "-n foo"
-test_one "cert not yet valid"  failure "-n ${USER} -V20200101:20300101"
+test_one "cert not yet valid"  failure "-n ${USER} -V20300101:20320101"
 test_one "cert expired"                failure "-n ${USER} -V19800101:19900101"
 test_one "cert valid interval" success "-n ${USER} -V-1w:+2w"
 test_one "wrong source-address"        failure "-n ${USER} -Osource-address=10.0.0.0/8"