Skip to content

Commit

Permalink
tests/suit: Only try ecdsa when p-521 is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
bergzand committed Apr 13, 2021
1 parent 2b8a449 commit c4220b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/suit.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void test_suit1(void)
}

const test_t tests_suit[] = {
#if defined(HAVE_ALGO_EDDSA) || defined(HAVE_ALGO_ECDSA)
#if defined(HAVE_ALGO_EDDSA) || ( defined(HAVE_ALGO_ECDSA) && defined(HAVE_CURVE_P521))
{
.f = test_suit1,
.n = "Verify with known signed",
Expand Down

0 comments on commit c4220b4

Please sign in to comment.