From 66b59bda9bf4d8db30366da5a8c359d1901127a8 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 25 Aug 2020 08:24:20 -0700 Subject: [PATCH] Fix for expected fail test in `openssl_test` for partial block. Fix for `mp_test` with ECC disabled, which uses `mp_init_copy`. --- wolfcrypt/test/test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index d7f2cd6e3..deecd9e4c 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -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;