summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2019-07-25 08:48:12 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2019-07-25 08:48:12 +0000
commit5cb6981b89c3c1177f02f70475f8aad7ec54cc69 (patch)
tree42c1c912fc08b19173eaa3f96194a467bfdc54bc /regress/usr.bin
parent8054cfe0e076a79366766a140c67b6b40d85cdcc (diff)
Switch keys-command test from rsa to ed25519 since it's supported for
both OpenSSL and non-OpenSSL builds.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/ssh/keys-command.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/keys-command.sh b/regress/usr.bin/ssh/keys-command.sh
index 0368f0c1f38..2ee0149b582 100644
--- a/regress/usr.bin/ssh/keys-command.sh
+++ b/regress/usr.bin/ssh/keys-command.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: keys-command.sh,v 1.5 2018/11/22 08:48:32 dtucker Exp $
+# $OpenBSD: keys-command.sh,v 1.6 2019/07/25 08:48:11 dtucker Exp $
# Placed in the Public Domain.
tid="authorized keys from command"
@@ -12,8 +12,8 @@ rm -f $OBJ/keys-command-args
touch $OBJ/keys-command-args
chmod a+rw $OBJ/keys-command-args
-expected_key_text=`awk '{ print $2 }' < $OBJ/rsa.pub`
-expected_key_fp=`$SSHKEYGEN -lf $OBJ/rsa.pub | awk '{ print $2 }'`
+expected_key_text=`awk '{ print $2 }' < $OBJ/ssh-ed25519.pub`
+expected_key_fp=`$SSHKEYGEN -lf $OBJ/ssh-ed25519.pub | awk '{ print $2 }'`
# Establish a AuthorizedKeysCommand in /var/run where it will have
# acceptable directory permissions.