summaryrefslogtreecommitdiff
path: root/regress/cert-hostkey.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-11-05 18:23:38 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-11-05 18:23:38 +1100
commiteab5f0df90cad495ee65abdb557538dbfb625d15 (patch)
treed93cf676ec18859bee5e6fe5a75b15da761d89a3 /regress/cert-hostkey.sh
parentb69e033e6704000be33ed6dc47eb9ac28f10b14b (diff)
- (dtucker) [Makefile configure.ac regress/Makefile regress/keytype.sh]
Import recent changes to regress/Makefile, pass a flag to enable ECC tests from configure through to regress/Makefile and use it in the tests.
Diffstat (limited to 'regress/cert-hostkey.sh')
-rw-r--r--regress/cert-hostkey.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh
index 7461beca..1ae5d0bd 100644
--- a/regress/cert-hostkey.sh
+++ b/regress/cert-hostkey.sh
@@ -5,8 +5,7 @@ tid="certified host keys"
# used to disable ECC based tests on platforms without ECC
ecdsa=""
-if grep "#define.*OPENSSL_HAS_ECC" ${BUILDDIR}/config.h >/dev/null 2>&1
-then
+if "$TEST_SSH_ECC" = "yes"; then
ecdsa=ecdsa
fi