mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 19:21:08 +00:00
Fix bug in no-renego option
This commit is contained in:
parent
55f968b2c9
commit
d2b35ec3d3
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user