mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 00:02:19 +01:00
Merge pull request #9679 from douzzer/20260117-fix-test_wolfSSL_EVP_sm3
20260117-fix-test_wolfSSL_EVP_sm3
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