Skip to content

Commit f2c5b4e

Browse files
authored
Merge pull request #8500 from SparkiDev/evp_aes_gcm_test_fix
test_wolfssl_EVP_aes_gcm: fix for mem fail testing
2 parents bac6771 + ac1f25d commit f2c5b4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77197,7 +77197,7 @@ static int test_wolfssl_EVP_aes_gcm(void)
7719777197
ciphertxtSz += len;
7719877198
ExpectIntEQ(1, EVP_CIPHER_CTX_ctrl(&en[i], EVP_CTRL_GCM_GET_TAG,
7719977199
AES_BLOCK_SIZE, tag));
77200-
ExpectIntEQ(wolfSSL_EVP_CIPHER_CTX_cleanup(&en[i]), 1);
77200+
wolfSSL_EVP_CIPHER_CTX_cleanup(&en[i]);
7720177201

7720277202
EVP_CIPHER_CTX_init(&de[i]);
7720377203
if (i == 0) {
@@ -77282,7 +77282,7 @@ static int test_wolfssl_EVP_aes_gcm(void)
7728277282
ExpectIntEQ(0, EVP_DecryptFinal_ex(&de[i], decryptedtxt, &len));
7728377283
ExpectIntEQ(0, len);
7728477284

77285-
ExpectIntEQ(wolfSSL_EVP_CIPHER_CTX_cleanup(&de[i]), 1);
77285+
wolfSSL_EVP_CIPHER_CTX_cleanup(&de[i]);
7728677286
}
7728777287
#endif /* OPENSSL_EXTRA && !NO_AES && HAVE_AESGCM */
7728877288
return EXPECT_RESULT();

0 commit comments

Comments
 (0)