From 1787e04b23a2558b30316a94a51b6b81525745ac Mon Sep 17 00:00:00 2001 From: Nickolas Lapp Date: Wed, 12 Aug 2015 15:48:30 -0600 Subject: [PATCH] Enum should be int, not byte --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index 83d962529..9c3e33903 100644 --- a/src/tls.c +++ b/src/tls.c @@ -1003,7 +1003,7 @@ static int TLSX_SNI_Parse(WOLFSSL* ssl, byte* input, word16 length, #ifndef NO_WOLFSSL_SERVER word16 size = 0; word16 offset = 0; - byte forceKeep = 0; + int forceKeep = 0; #endif TLSX *extension = TLSX_Find(ssl->extensions, SERVER_NAME_INDICATION);