summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-07-20 22:12:07 +1000
committerDarren Tucker <dtucker@dtucker.net>2020-07-20 22:12:07 +1000
commit62c81ef531b0cc7ff655455dd34f5f0c94f48e82 (patch)
tree6dfbe66702de26dc76e8aa75001f64fc580c124d
parent3ec9a6d7317236a9994887d8bd5d246af403a00d (diff)
Skip ECDSA-SK webauthn test when built w/out ECC
-rw-r--r--regress/unittests/sshsig/tests.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/unittests/sshsig/tests.c b/regress/unittests/sshsig/tests.c
index 7365d249..bf59d58d 100644
--- a/regress/unittests/sshsig/tests.c
+++ b/regress/unittests/sshsig/tests.c
@@ -127,10 +127,12 @@ tests(void)
check_sig("ed25519_sk.pub", "ed25519_sk.sig", msg, namespace);
TEST_DONE();
+#if defined(WITH_OPENSSL) && defined(OPENSSL_HAS_ECC)
TEST_START("check ECDSA-SK webauthn signature");
check_sig("ecdsa_sk_webauthn.pub", "ecdsa_sk_webauthn.sig",
msg, namespace);
TEST_DONE();
+#endif
sshbuf_free(msg);
free(namespace);