From 9b65bc22f19ff9476d5c5a8c8cdbb619bdfe4509 Mon Sep 17 00:00:00 2001 From: John Bland Date: Mon, 10 Mar 2025 10:18:48 -0400 Subject: [PATCH] fix uninitialized variable error --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index 18ae2b53f..91acca4d3 100644 --- a/src/tls.c +++ b/src/tls.c @@ -13432,7 +13432,7 @@ int TLSX_FinalizeEch(WOLFSSL_ECH* ech, byte* aad, word32 aadLen) int ret = 0; void* receiverPubkey = NULL; byte* info = NULL; - int infoLen; + int infoLen = 0; byte* aadCopy = NULL; /* setup hpke context to seal, should be done at most once per connection */ if (ech->hpkeContext == NULL) {