Skip to content

Commit 4e0e189

Browse files
committed
remove logically dead code
remove unused total value
1 parent a24ea6f commit 4e0e189

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

wolfcrypt/test/test.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31263,9 +31263,6 @@ static wc_test_ret_t openssl_aes_cbc_test(void)
3126331263
return WC_TEST_RET_ENC_NC;
3126431264
if (outlen != 16)
3126531265
return WC_TEST_RET_ENC_NC;
31266-
total += outlen;
31267-
if (total != 32)
31268-
return 3408;
3126931266

3127031267
wolfSSL_EVP_CIPHER_CTX_cleanup(en);
3127131268

@@ -31332,9 +31329,6 @@ static wc_test_ret_t openssl_aes_cbc_test(void)
3133231329
return WC_TEST_RET_ENC_NC;
3133331330
if (outlen != 16)
3133431331
return WC_TEST_RET_ENC_NC;
31335-
total += outlen;
31336-
if (total != 32)
31337-
return WC_TEST_RET_ENC_NC;
3133831332

3133931333
wolfSSL_EVP_CIPHER_CTX_cleanup(en);
3134031334

0 commit comments

Comments
 (0)