mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Adding tests for EVP_CIPHER_CTX_reset
This commit is contained in:
@ -2091,6 +2091,9 @@ static void test_wolfSSL_EVP_CIPHER_CTX()
|
||||
AssertTrue(init == test);
|
||||
AssertIntEQ(EVP_CIPHER_nid(test), NID_aes_128_cbc);
|
||||
|
||||
AssertIntEQ(EVP_CIPHER_CTX_reset(ctx), WOLFSSL_SUCCESS);
|
||||
AssertIntEQ(EVP_CIPHER_CTX_reset(NULL), WOLFSSL_FAILURE);
|
||||
|
||||
EVP_CIPHER_CTX_free(ctx);
|
||||
#endif /* !NO_AES && HAVE_AES_CBC && WOLFSSL_AES_128 */
|
||||
}
|
||||
|
Reference in New Issue
Block a user