From 62c81ef531b0cc7ff655455dd34f5f0c94f48e82 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 20 Jul 2020 22:12:07 +1000 Subject: [PATCH] Skip ECDSA-SK webauthn test when built w/out ECC --- regress/unittests/sshsig/tests.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regress/unittests/sshsig/tests.c b/regress/unittests/sshsig/tests.c index 7365d2492..bf59d58d1 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);