diff --git a/tests/api.c b/tests/api.c index 8866a9bae..58a64b0d7 100644 --- a/tests/api.c +++ b/tests/api.c @@ -39511,7 +39511,6 @@ static int test_wolfSSL_EVP_Cipher_extra(void) int *test_drive[] = {test_drive1, test_drive2, test_drive3, NULL}; int test_drive_len[100]; - WC_MAYBE_UNUSED int drive_len; int ret = 0; EVP_CIPHER_CTX *evp = NULL; @@ -39594,7 +39593,6 @@ static int test_wolfSSL_EVP_Cipher_extra(void) for (i = 0; test_drive[i]; i++) { last_val = 0x0f; - drive_len = 0; AssertIntNE((ret = EVP_CipherInit(evp, NULL, key, iv, 0)), 0); @@ -39609,7 +39607,6 @@ static int test_wolfSSL_EVP_Cipher_extra(void) binary_dump(outb, outl); AssertIntEQ((ret = check_result(outb, outl)), 0); AssertFalse(outl > ((inl/16+1)*16) && outl > 16); - drive_len += outl; } ret = EVP_CipherFinal(evp, outb, &outl);