forked from wolfSSL/wolfssl
check if secure renegotiation struct available
This commit is contained in:
@ -23594,7 +23594,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
||||
ret = TLSX_AddEmptyRenegotiationInfo(&ssl->extensions);
|
||||
if (ret != WOLFSSL_SUCCESS)
|
||||
return ret;
|
||||
ssl->secure_renegotiation->enabled = 1;
|
||||
if (ssl->secure_renegotiation)
|
||||
ssl->secure_renegotiation->enabled = 1;
|
||||
}
|
||||
#endif /* HAVE_SERVER_RENEGOTIATION_INFO */
|
||||
|
||||
|
Reference in New Issue
Block a user