From cbe8dd5f11b3970135a4df6c068e2d50314eb345 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Fri, 27 Feb 2026 10:57:58 -0600 Subject: [PATCH] Address FP warning from VS --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index 3388424dff..f9115bf016 100644 --- a/src/tls.c +++ b/src/tls.c @@ -1298,7 +1298,7 @@ int TLS_hmac(WOLFSSL* ssl, byte* digest, const byte* in, word32 sz, int padSz, /* Pre-compute sz + hashSz + padSz + 1 with overflow checking. * Used by fuzzer callback and Hmac_UpdateFinal* in the verify path. */ if (verify && padSz >= 0) { - word32 hmacSz; + word32 hmacSz = 0; if (!WC_SAFE_SUM_WORD32(sz, hashSz, hmacSz) || !WC_SAFE_SUM_WORD32(hmacSz, (word32)padSz, hmacSz) || !WC_SAFE_SUM_WORD32(hmacSz, 1, hmacSz)) {