Skip to content

Commit

Permalink
CMD: Run ED25519 signing test only when OpenSSL version is compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Jul 3, 2024
1 parent 8fc9aa3 commit 31f6d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/yubico-piv-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,7 @@ static bool test_signature(ykpiv_state *state, enum enum_slot slot,
}
}
break;
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
case YKPIV_ALGO_ED25519:
{
EVP_MD_CTX *ctx;
Expand Down

0 comments on commit 31f6d95

Please sign in to comment.