check if secure renegotiation struct available

This commit is contained in:
Jacob Barthelmeh
2019-01-04 13:22:34 -07:00
parent a00eaeb877
commit 26ae39a217

View File

@ -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 */