mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-14 20:01:00 +03:00
Fix compile error with renego disabled
This commit is contained in:
@ -602,8 +602,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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user