summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-02-26 15:31:23 +0100
committerPauli <ppzgs1@gmail.com>2021-03-03 01:00:21 +0100
commitf378755d62e1646b36683de37408dd98549bef69 (patch)
treeada9a645fa8c2e106837930d36fc384dba74cbd5 /ssl
parenttest_ssl_new: X448, X25519, and EdDSA are supported with fips (diff)
downloadopenssl-f378755d62e1646b36683de37408dd98549bef69.tar.xz
openssl-f378755d62e1646b36683de37408dd98549bef69.zip
statem_lib.c: Remove TODOs that are unnecessary
If the EVP_MD_CTX_ctrl is deprecated the code will generate deprecation warnings. So there is no point in marking all EVP_MD_CTX_ctrl() calls with TODOs. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14367)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/statem/statem_lib.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ssl/statem/statem_lib.c b/ssl/statem/statem_lib.c
index ba1fe75070..a7ed843aa4 100644
--- a/ssl/statem/statem_lib.c
+++ b/ssl/statem/statem_lib.c
@@ -329,10 +329,6 @@ int tls_construct_cert_verify(SSL *s, WPACKET *pkt)
* in order to add the EVP_CTRL_SSL3_MASTER_SECRET call between them.
*/
if (EVP_DigestSignUpdate(mctx, hdata, hdatalen) <= 0
- /*
- * TODO(3.0) Replace this when EVP_MD_CTX_ctrl() is deprecated
- * with a call to ssl3_digest_master_key_set_params()
- */
|| EVP_MD_CTX_ctrl(mctx, EVP_CTRL_SSL3_MASTER_SECRET,
(int)s->session->master_key_length,
s->session->master_key) <= 0
@@ -520,10 +516,6 @@ MSG_PROCESS_RETURN tls_process_cert_verify(SSL *s, PACKET *pkt)
}
}
if (s->version == SSL3_VERSION) {
- /*
- * TODO(3.0) Replace this when EVP_MD_CTX_ctrl() is deprecated
- * with a call to ssl3_digest_master_key_set_params()
- */
if (EVP_DigestVerifyUpdate(mctx, hdata, hdatalen) <= 0
|| EVP_MD_CTX_ctrl(mctx, EVP_CTRL_SSL3_MASTER_SECRET,
(int)s->session->master_key_length,