diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-10 09:18:50 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-10 09:18:50 +0000 |
commit | 0f1d814c2313e2b844d611625e9676d00aa404fb (patch) | |
tree | ab314162a0d8e4581f679f0b8de33967e7da1c55 /test | |
parent | d46057277f3b805e5f198e31fc81a892bf5c9141 (diff) | |
download | openssl-new-0f1d814c2313e2b844d611625e9676d00aa404fb.tar.gz |
No need to call EVP_CIPHER_CTX_init after EVP_CIPHER_CTX_new
The afalgtest was unnecessarily initing an EVP_CIPHER_CTX. It is not
needed and is deprecated.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/afalgtest.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/afalgtest.c b/test/afalgtest.c index c15e111545..e1327445e2 100644 --- a/test/afalgtest.c +++ b/test/afalgtest.c @@ -82,7 +82,6 @@ static int test_afalg_aes_128_cbc(ENGINE *e) fprintf(stderr, "%s() failed to allocate ctx\n", __func__); return 0; } - EVP_CIPHER_CTX_init(ctx); RAND_bytes(in, BUFFER_SIZE); if ( !EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1) |