]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: only add plain keys to prevent any certs laying around
authordjm@openbsd.org <djm@openbsd.org>
Tue, 3 Sep 2019 08:37:06 +0000 (08:37 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 3 Sep 2019 08:42:14 +0000 (18:42 +1000)
from confusing the test.

OpenBSD-Regress-ID: b8f1508f822bc560b98dea910e61ecd76f34100f

regress/agent-timeout.sh

index 80012f80c7c1e9830ae9e3b084b38b0ffd6eb9e9..311c7bcba8017240582e09242347d311781e2aee 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: agent-timeout.sh,v 1.4 2019/01/28 00:08:26 dtucker Exp $
+#      $OpenBSD: agent-timeout.sh,v 1.5 2019/09/03 08:37:06 djm Exp $
 #      Placed in the Public Domain.
 
 tid="agent timeout test"
@@ -14,7 +14,7 @@ else
        trace "add keys with timeout"
        keys=0
        for t in ${SSH_KEYTYPES}; do
-               ${SSHADD} -t ${SSHAGENT_TIMEOUT} $OBJ/$t > /dev/null 2>&1
+               ${SSHADD} -kt ${SSHAGENT_TIMEOUT} $OBJ/$t > /dev/null 2>&1
                if [ $? -ne 0 ]; then
                        fail "ssh-add did succeed exit code 0"
                fi