mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
Skip ECDSA-SK webauthn test when built w/out ECC
This commit is contained in:
parent
3ec9a6d731
commit
62c81ef531
@ -127,10 +127,12 @@ tests(void)
|
|||||||
check_sig("ed25519_sk.pub", "ed25519_sk.sig", msg, namespace);
|
check_sig("ed25519_sk.pub", "ed25519_sk.sig", msg, namespace);
|
||||||
TEST_DONE();
|
TEST_DONE();
|
||||||
|
|
||||||
|
#if defined(WITH_OPENSSL) && defined(OPENSSL_HAS_ECC)
|
||||||
TEST_START("check ECDSA-SK webauthn signature");
|
TEST_START("check ECDSA-SK webauthn signature");
|
||||||
check_sig("ecdsa_sk_webauthn.pub", "ecdsa_sk_webauthn.sig",
|
check_sig("ecdsa_sk_webauthn.pub", "ecdsa_sk_webauthn.sig",
|
||||||
msg, namespace);
|
msg, namespace);
|
||||||
TEST_DONE();
|
TEST_DONE();
|
||||||
|
#endif
|
||||||
|
|
||||||
sshbuf_free(msg);
|
sshbuf_free(msg);
|
||||||
free(namespace);
|
free(namespace);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user