Merge pull request #9679 from douzzer/20260117-fix-test_wolfSSL_EVP_sm3

20260117-fix-test_wolfSSL_EVP_sm3
This commit is contained in:
David Garske
2026-01-17 11:47:51 -08:00
committed by GitHub

View File

@@ -139,7 +139,6 @@ int test_wolfSSL_EVP_sm3(void)
ExpectIntEQ(EVP_DigestFinal(mdCtx, calcHash, &sz), WOLFSSL_SUCCESS);
ExpectIntEQ(sz, WC_SM3_DIGEST_SIZE);
for (chunk = 1; chunk <= WC_SM3_BLOCK_SIZE + 1; chunk++) {
for (i = 0; i + chunk <= (word32)sizeof(data); i += chunk) {
for (i = 0; i + chunk <= (word32)sizeof(data); i += chunk) {
ExpectIntEQ(EVP_DigestUpdate(mdCtx, data + i, chunk),
WOLFSSL_SUCCESS);