Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail committed Sep 11, 2024
1 parent 0c88e62 commit ced3711
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crypto/fipsmodule/service_indicator/service_indicator_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4668,9 +4668,10 @@ TEST(ServiceIndicatorTest, ED25519SigGenVerify) {
EVP_PKEY_ED25519, NULL, &private_key[0], ED25519_PRIVATE_KEY_SEED_LEN));

bssl::UniquePtr<EVP_MD_CTX> mdctx(EVP_MD_CTX_new());
ASSERT_TRUE(EVP_DigestSignInit(mdctx.get(), NULL, NULL, NULL, pkey.get()));
CALL_SERVICE_AND_CHECK_APPROVED(
approved, EVP_DigestSignInit(mdctx.get(), NULL, NULL, NULL, pkey.get()));
ASSERT_EQ(AWSLC_NOT_APPROVED, approved);
size_t sig_out_len = sizeof(signature);
approved = AWSLC_NOT_APPROVED;
CALL_SERVICE_AND_CHECK_APPROVED(
approved,
ASSERT_TRUE(EVP_DigestSign(mdctx.get(), &signature[0], &sig_out_len,
Expand Down

0 comments on commit ced3711

Please sign in to comment.