summaryrefslogtreecommitdiff
path: root/regress/cert-hostkey.sh
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-01-03 03:02:26 +0000
committerDarren Tucker <dtucker@dtucker.net>2020-01-04 10:14:21 +1100
commitff31f15773ee173502eec4d7861ec56f26bba381 (patch)
treece510f939b9576951618378ad69691b165aa1032 /regress/cert-hostkey.sh
parent680eb7749a39d0e4d046e66cac4e51e8e3640b75 (diff)
downloadopenssh-git-ff31f15773ee173502eec4d7861ec56f26bba381.tar.gz
upstream: what bozo decided to use 2020 as a future date in a regress
test? OpenBSD-Regress-ID: 3b953df5a7e14081ff6cf495d4e8d40e153cbc3a
Diffstat (limited to 'regress/cert-hostkey.sh')
-rw-r--r--regress/cert-hostkey.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh
index 95d7c176..097bf846 100644
--- a/regress/cert-hostkey.sh
+++ b/regress/cert-hostkey.sh
@@ -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"