Fix NULL dereference error

This commit is contained in:
Eric Blankenhorn
2020-05-28 12:17:29 -05:00
parent e388885407
commit 4e8f5fce66

View File

@ -4852,7 +4852,7 @@ static int TLSX_SecureRenegotiation_Parse(WOLFSSL* ssl, byte* input,
} }
#endif #endif
} }
else { else if (ssl->secure_renegotiation != NULL) {
#ifndef NO_WOLFSSL_CLIENT #ifndef NO_WOLFSSL_CLIENT
if (!ssl->secure_renegotiation->enabled) { if (!ssl->secure_renegotiation->enabled) {
if (*input == 0) { if (*input == 0) {