]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Remove more dead code
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Thu, 16 Oct 2025 09:33:50 +0000 (17:33 +0800)
committerTodd Short <todd.short@me.com>
Mon, 27 Oct 2025 14:26:20 +0000 (10:26 -0400)
Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/28914)

apps/s_client.c

index 836c6b8122259e1036465fa0cc39954c884f4c9b..7c3e1ef7bc8a17c65e7c65618b8bd7a85a1d3c90 100644 (file)
@@ -3165,15 +3165,6 @@ int s_client_main(int argc, char **argv)
             }
         } else if (ssl_pending
                    || (!isquic && FD_ISSET(SSL_get_fd(con), &readfds))) {
-#ifdef RENEG
-            {
-                static int iiii;
-                if (++iiii == 52) {
-                    SSL_renegotiate(con);
-                    iiii = 0;
-                }
-            }
-#endif
             k = SSL_read(con, sbuf, BUFSIZZ);
 
             switch (SSL_get_error(con, k)) {