diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2020-07-02 13:03:58 -0700 |
---|---|---|
committer | Benjamin Kaduk <bkaduk@akamai.com> | 2020-08-11 07:07:57 -0700 |
commit | 37322687b0fb4c5c0bb637acd3e9785ffc71fa35 (patch) | |
tree | 43b0f2f193cdba292f4905424ebfd78c5e0ddbcf /test | |
parent | c76ffc78a513660b5f62bc32a64f44c62edede74 (diff) | |
download | openssl-37322687b0fb4c5c0bb637acd3e9785ffc71fa35.zip openssl-37322687b0fb4c5c0bb637acd3e9785ffc71fa35.tar.gz openssl-37322687b0fb4c5c0bb637acd3e9785ffc71fa35.tar.bz2 |
Retire EVP_CTRL_GET_IV
It is superseded by EVP_CIPHER_CTX_get_iv(), is only present on master,
and had only a couple of in-tree callers that are easy to convert.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12233)
Diffstat (limited to 'test')
-rw-r--r-- | test/aesgcmtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/aesgcmtest.c b/test/aesgcmtest.c index bacbb8f..a68ec74 100644 --- a/test/aesgcmtest.c +++ b/test/aesgcmtest.c @@ -58,7 +58,7 @@ static int do_encrypt(unsigned char *iv_gen, unsigned char *ct, int *ct_len, && TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, 16, tag) > 0) && TEST_true(iv_gen == NULL - || EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GET_IV, 12, iv_gen) > 0); + || EVP_CIPHER_CTX_get_iv(ctx, iv_gen, 12)); EVP_CIPHER_CTX_free(ctx); return ret; } |