Skip to content

Commit 467d6dd

Browse files
committed
tests/api/test_evp_digest.c: fix for copy-paste error in test_wolfSSL_EVP_sm3(), introduced in 43d831f.
1 parent 1e51938 commit 467d6dd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/api/test_evp_digest.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ int test_wolfSSL_EVP_sm3(void)
139139
ExpectIntEQ(EVP_DigestFinal(mdCtx, calcHash, &sz), WOLFSSL_SUCCESS);
140140
ExpectIntEQ(sz, WC_SM3_DIGEST_SIZE);
141141
for (chunk = 1; chunk <= WC_SM3_BLOCK_SIZE + 1; chunk++) {
142-
for (i = 0; i + chunk <= (word32)sizeof(data); i += chunk) {
143142
for (i = 0; i + chunk <= (word32)sizeof(data); i += chunk) {
144143
ExpectIntEQ(EVP_DigestUpdate(mdCtx, data + i, chunk),
145144
WOLFSSL_SUCCESS);

0 commit comments

Comments
 (0)