mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 06:55:40 +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 defined(POLARSSL_SSL_RENEGOTIATION)
|
||||||
if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE )
|
if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE )
|
||||||
{
|
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
if( ssl->session_negotiate->ticket != NULL &&
|
if( ssl->session_negotiate->ticket != NULL &&
|
||||||
ssl->session_negotiate->ticket_len != 0 )
|
ssl->session_negotiate->ticket_len != 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue