Skip ECDSA-SK webauthn test when built w/out ECC

This commit is contained in:
Darren Tucker 2020-07-20 22:12:07 +10:00
parent 3ec9a6d731
commit 62c81ef531
1 changed files with 2 additions and 0 deletions

View File

@ -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);