mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-02 10:00:47 -04:00
Remove key exchange mode check.
This change does not meet RFC requirements. It should be revert after key exchange mode issue fixed Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
f7b5b59a92
commit
6cb4fcd1a5
@ -1837,12 +1837,6 @@ static int ssl_tls13_write_new_session_ticket_coordinate( mbedtls_ssl_context *s
|
|||||||
return( SSL_NEW_SESSION_TICKET_SKIP );
|
return( SSL_NEW_SESSION_TICKET_SKIP );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !mbedtls_ssl_tls13_some_psk_enabled( ssl ) )
|
|
||||||
{
|
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "psk or psk_ephemeral is not enabled" ) );
|
|
||||||
return( SSL_NEW_SESSION_TICKET_SKIP );
|
|
||||||
}
|
|
||||||
|
|
||||||
return( SSL_NEW_SESSION_TICKET_WRITE );
|
return( SSL_NEW_SESSION_TICKET_WRITE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user