summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-10-17 15:13:18 +0100
committerMatt Caswell <matt@openssl.org>2022-10-20 14:39:33 +0100
commitfaa3e66c27a5e88f048f3ed30cfca297eda13eb6 (patch)
tree4ed6c50048f1ef1e51e796f01234d9692c366803 /ssl/ssl_lib.c
parent43dfa5a9319f67cd652fdc3a8711fc53859cd11e (diff)
Remove some TODO(RECLAYER) comments now that DTLS has been moved
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19424)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 186e60f34c..77b0fcefc3 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -4812,10 +4812,6 @@ const COMP_METHOD *SSL_get_current_compression(const SSL *s)
if (sc == NULL)
return NULL;
- /* TODO(RECLAYER): Remove me once SSLv3/DTLS moved to write record layer */
- if (SSL_CONNECTION_IS_DTLS(sc) || sc->version == SSL3_VERSION)
- return sc->compress ? COMP_CTX_get_method(sc->compress) : NULL;
-
return sc->rlayer.wrlmethod->get_compression(sc->rlayer.wrl);
#else
return NULL;