mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
free test RSA key after use
This commit is contained in:
@@ -17469,6 +17469,7 @@ static void test_PKCS7_signed_enveloped(void)
|
|||||||
AssertIntGT(digestSz, 0);
|
AssertIntGT(digestSz, 0);
|
||||||
AssertIntEQ(digestSz, pkcs7->pkcs7DigestSz);
|
AssertIntEQ(digestSz, pkcs7->pkcs7DigestSz);
|
||||||
AssertIntEQ(XMEMCMP(digest, pkcs7->pkcs7Digest, digestSz), 0);
|
AssertIntEQ(XMEMCMP(digest, pkcs7->pkcs7Digest, digestSz), 0);
|
||||||
|
AssertIntEQ(wc_FreeRsaKey(&rKey), 0);
|
||||||
/* verify was success */
|
/* verify was success */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user