Skip to content

Commit

Permalink
Define digest_len, not sure why local build passed
Browse files Browse the repository at this point in the history
  • Loading branch information
WillChilds-Klein committed Aug 30, 2024
1 parent 659d98e commit 3a01ed7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,7 @@ TEST_P(EVPXOFServiceIndicatorTest, EVP_Xofs) {
EXPECT_EQ(Bytes(test.expected_digest, test.length), Bytes(digest));

// Test using the one-shot |EVP_Digest| function for approval.
unsigned digest_len = test.length;
CALL_SERVICE_AND_CHECK_APPROVED(approved,
ASSERT_TRUE(EVP_Digest(kPlaintext, sizeof(kPlaintext), digest.data(),
&digest_len, test.func(), nullptr)));
Expand Down

0 comments on commit 3a01ed7

Please sign in to comment.