summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2011-05-17 07:13:32 +0000
committerDamien Miller <djm@cvs.openbsd.org>2011-05-17 07:13:32 +0000
commit1209727244fd6416912de6ebd09938995a0c2934 (patch)
treebc9afd4c13b52a8b6634551d7ee93fb59512f23d /regress/usr.bin
parent823d3c93ebd241152f5f8c31baf23460447c1372 (diff)
fatal() if asked to generate a legacy ECDSA cert (these don't exist)
and fix the regress test that was trying to generate them :)
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/ssh/cert-userkey.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/cert-userkey.sh b/regress/usr.bin/ssh/cert-userkey.sh
index 4c5160950df..1384fde7b35 100644
--- a/regress/usr.bin/ssh/cert-userkey.sh
+++ b/regress/usr.bin/ssh/cert-userkey.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: cert-userkey.sh,v 1.7 2010/08/31 12:24:09 djm Exp $
+# $OpenBSD: cert-userkey.sh,v 1.8 2011/05/17 07:13:31 djm Exp $
# Placed in the Public Domain.
tid="certified user keys"
@@ -21,7 +21,7 @@ for ktype in rsa dsa ecdsa ; do
-n ${USER},mekmitasdigoat $OBJ/cert_user_key_${ktype} ||
fail "couldn't sign cert_user_key_${ktype}"
# v00 ecdsa certs do not exist
- test "{ktype}" = "ecdsa" && continue
+ test "${ktype}" = "ecdsa" && continue
cp $OBJ/cert_user_key_${ktype} $OBJ/cert_user_key_${ktype}_v00
cp $OBJ/cert_user_key_${ktype}.pub $OBJ/cert_user_key_${ktype}_v00.pub
${SSHKEYGEN} -q -t v00 -s $OBJ/user_ca_key -I \