]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
s_server: Use static int, not static.
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Tue, 14 Oct 2025 00:09:28 +0000 (08:09 +0800)
committerTodd Short <todd.short@me.com>
Mon, 27 Oct 2025 14:26:19 +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_server.c

index 1977e4f5c03b22a51172472078b9ba160e831ae8..431c702e7e80cceea27f73c34f287eac9ec66bd4 100644 (file)
@@ -3002,7 +3002,7 @@ static int sv_body(int s, int stype, int prot, unsigned char *context)
             for (;;) {
                 /* should do a select for the write */
 #ifdef RENEG
-                static count = 0;
+                static int count = 0;
                 if (++count == 100) {
                     count = 0;
                     SSL_renegotiate(con);