From faa3e66c27a5e88f048f3ed30cfca297eda13eb6 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 17 Oct 2022 15:13:18 +0100 Subject: Remove some TODO(RECLAYER) comments now that DTLS has been moved Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/19424) --- ssl/ssl_lib.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ssl/ssl_lib.c') 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; -- cgit v1.2.3