mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 19:12:20 +01:00
tests/api/test_evp_digest.c: fix for copy-paste error in test_wolfSSL_EVP_sm3(), introduced in 43d831ff06.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user