Fix bug in no-renego option

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-10 11:40:43 +00:00
parent 55f968b2c9
commit d2b35ec3d3

View file

@ -632,8 +632,8 @@ static int ssl_write_client_hello( ssl_context *ssl )
*/
#if defined(POLARSSL_SSL_RENEGOTIATION)
if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE )
{
#endif
{
if( ssl->session_negotiate->ticket != NULL &&
ssl->session_negotiate->ticket_len != 0 )
{