forked from wolfSSL/wolfssl
Merge pull request #3008 from embhorn/zd10320
Fix possible NULL dereference error in TLSX_SecureRenegotiation_Parse
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user