From: Joshua Rogers Date: Tue, 14 Oct 2025 00:09:28 +0000 (+0800) Subject: s_server: Use static int, not static. X-Git-Tag: 4.0-PRE-CLANG-FORMAT-WEBKIT~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e97bb2c634bd126d5116fc6695051e695804225;p=thirdparty%2Fopenssl.git s_server: Use static int, not static. Signed-off-by: Joshua Rogers Reviewed-by: Saša Nedvědický Reviewed-by: Tomas Mraz Reviewed-by: Frederik Wedel-Heinen Reviewed-by: Todd Short (Merged from https://github.com/openssl/openssl/pull/28914) --- diff --git a/apps/s_server.c b/apps/s_server.c index 1977e4f5c03..431c702e7e8 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -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);