diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-03-02 16:16:06 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-03-04 14:15:01 +0100 |
commit | 0be6cf0c7e3770b0b66862a7212dc8922f4fadd7 (patch) | |
tree | 8ec2f80a385759c26cb8bbd9b96b5915016c6f0c /crypto/evp/evp_lib.c | |
parent | bffe3ae7b8cc6219de597981370690d31cfe5e01 (diff) |
Remove some of the TODO 3.0 in crypto/evp related to legacy support.
The legacy support stays in 3.0. The TODOs are dropped.
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14404)
Diffstat (limited to 'crypto/evp/evp_lib.c')
-rw-r--r-- | crypto/evp/evp_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c index fc2c65b578..dd3173ddd5 100644 --- a/crypto/evp/evp_lib.c +++ b/crypto/evp/evp_lib.c @@ -477,7 +477,7 @@ int EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx) if (rv == EVP_CTRL_RET_UNSUPPORTED) goto legacy; return rv != 0 ? (int)v : -1; - /* TODO (3.0) Remove legacy support */ + /* Code below to be removed when legacy support is dropped. */ legacy: if ((EVP_CIPHER_flags(ctx->cipher) & EVP_CIPH_CUSTOM_IV_LENGTH) != 0) { rv = EVP_CIPHER_CTX_ctrl((EVP_CIPHER_CTX *)ctx, EVP_CTRL_GET_IVLEN, |