diff options
Diffstat (limited to 'regress/cert-userkey.sh')
-rw-r--r-- | regress/cert-userkey.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/cert-userkey.sh b/regress/cert-userkey.sh index 739a036e2..c38c00a02 100644 --- a/regress/cert-userkey.sh +++ b/regress/cert-userkey.sh | |||
@@ -10,8 +10,8 @@ cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak | |||
10 | PLAIN_TYPES=`$SSH -Q key-plain | sed 's/^ssh-dss/ssh-dsa/;s/^ssh-//'` | 10 | PLAIN_TYPES=`$SSH -Q key-plain | sed 's/^ssh-dss/ssh-dsa/;s/^ssh-//'` |
11 | 11 | ||
12 | kname() { | 12 | kname() { |
13 | echo -n $1 | sed 's/^dsa/ssh-dss/;s/^rsa/ssh-rsa/;s/^ed/ssh-ed/' | 13 | n=`echo "$1" | sed 's/^dsa/ssh-dss/;s/^rsa/ssh-rsa/;s/^ed/ssh-ed/'` |
14 | echo "*,ssh-rsa*,ssh-ed25519*" | 14 | echo "$n*,ssh-rsa*,ssh-ed25519*" |
15 | } | 15 | } |
16 | 16 | ||
17 | # Create a CA key | 17 | # Create a CA key |