From 274be55679edc0914097072b41c1d1fbcf34ba7b Mon Sep 17 00:00:00 2001 From: Nickolas Lapp Date: Mon, 14 Sep 2015 17:57:24 -0600 Subject: [PATCH] Fix GCC compiler warning --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index ed501fb4d..6a1b6ea36 100644 --- a/src/internal.c +++ b/src/internal.c @@ -14279,7 +14279,7 @@ int DoSessionTicket(WOLFSSL* ssl, #ifdef WOLFSSL_DTLS Hmac cookieHmac; byte peerCookie[MAX_COOKIE_LEN]; - byte peerCookieSz; + byte peerCookieSz = 0; byte cookieType; byte cookieSz; #endif /* WOLFSSL_DTLS */