summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-09-29 18:33:38 +1000
committerDarren Tucker <dtucker@dtucker.net>2021-09-29 18:33:38 +1000
commitc9172193ea975415facf0afb356d87df21535f88 (patch)
tree06a1e8adb51bf6a02ca94e79e1bdb53189f16755 /regress
parent5e6d28b7874b0deae95d2c68947c45212d32e599 (diff)
Remove TEST_SSH_ECC.
Convert the only remaining user of it to runtime detection using ssh -Q.
Diffstat (limited to 'regress')
-rw-r--r--regress/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/Makefile b/regress/Makefile
index 0b5ad45d..d5481e44 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -188,13 +188,13 @@ t8: $(OBJ)/t8.out
${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t8.out > /dev/null
$(OBJ)/t9.out:
- test "${TEST_SSH_ECC}" != yes || \
+ ! ${TEST_SSH_SSH} -Q key-plain | grep ecdsa >/dev/null || \
${TEST_SSH_SSHKEYGEN} -q -t ecdsa -N '' -f $@
t9: $(OBJ)/t9.out
- test "${TEST_SSH_ECC}" != yes || \
+ ! ${TEST_SSH_SSH} -Q key-plain | grep ecdsa >/dev/null || \
${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t9.out > /dev/null
- test "${TEST_SSH_ECC}" != yes || \
+ ! ${TEST_SSH_SSH} -Q key-plain | grep ecdsa >/dev/null || \
${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t9.out > /dev/null