diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2021-01-14 15:19:46 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-01-18 14:27:44 +0100 |
commit | 0d83b7b9036feea680ba45751df028ff5e86cd63 (patch) | |
tree | 69bb5df9b0f0d294ab46f1dd324279c43672553b /test/aesgcmtest.c | |
parent | Update SERVER_HELLO_MAX_LENGTH (diff) | |
download | openssl-0d83b7b9036feea680ba45751df028ff5e86cd63.tar.xz openssl-0d83b7b9036feea680ba45751df028ff5e86cd63.zip |
Rename EVP_CIPHER_CTX_get_iv and EVP_CIPHER_CTX_get_iv_state for clarity
To clarify the purpose of these two calls rename them to
EVP_CIPHER_CTX_get_original_iv and EVP_CIPHER_CTX_get_updated_iv.
Also rename the OSSL_CIPHER_PARAM_IV_STATE to OSSL_CIPHER_PARAM_UPDATED_IV
to better align with the function name.
Fixes #13411
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13870)
Diffstat (limited to 'test/aesgcmtest.c')
-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 a68ec74d3a..5117df199b 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_get_iv(ctx, iv_gen, 12)); + || EVP_CIPHER_CTX_get_original_iv(ctx, iv_gen, 12)); EVP_CIPHER_CTX_free(ctx); return ret; } |