added braces to else clause for compiler warning differences

This commit is contained in:
John Safranek
2016-04-28 11:33:29 -07:00
parent e0c7739fd6
commit 2f05c96004

View File

@@ -4067,9 +4067,9 @@ static int GetDtlsHandShakeHeader(WOLFSSL* ssl, const byte* input,
if (*type != client_hello && *type != hello_verify_request) if (*type != client_hello && *type != hello_verify_request)
return VERSION_ERROR; return VERSION_ERROR;
else else {
WOLFSSL_MSG("DTLS Handshake ignoring hello or " WOLFSSL_MSG("DTLS Handshake ignoring hello or verify version");
"hello verify version"); }
} }
return 0; return 0;
} }