Fix for expected fail test in openssl_test for partial block. Fix for mp_test with ECC disabled, which uses mp_init_copy.

This commit is contained in:
David Garske
2020-08-25 08:24:20 -07:00
committed by Daniel Pouzzner
parent 0f8cf32122
commit 66b59bda9b

View File

@@ -16182,7 +16182,6 @@ static int openssl_test(void)
EVP_CIPHER_CTX_init(&ctx);
ret = EVP_CipherInit(&ctx, EVP_aes_128_cbc(), key, iv, 0);
if (ret == WOLFSSL_SUCCESS) {
/* check partial decrypt (not enough padding for full block) */
ret = EVP_CipherUpdate(&ctx, plain, &idx, cipher, 1);
if (ret == WOLFSSL_SUCCESS)
plainSz += idx;