mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 23:05:27 +00:00
Shorter version of mbedtls_ssl_send_fatal_handshake_failure
This commit is contained in:
parent
89af51ff39
commit
6c0da64094
10
ChangeLog
10
ChangeLog
|
@ -1,5 +1,15 @@
|
||||||
mbed TLS ChangeLog (Sorted per branch, date)
|
mbed TLS ChangeLog (Sorted per branch, date)
|
||||||
|
|
||||||
|
= mbed TLS 2.19.2 branch released xxxx-xx-xx
|
||||||
|
|
||||||
|
Bugfix
|
||||||
|
* Fix an incorrect size in a debugging message. Reported and fix
|
||||||
|
submitted by irwir. Fixes #2717.
|
||||||
|
* Fix an unused variable warning when compiling without DTLS.
|
||||||
|
Reported and fix submitted by irwir. Fixes #2800.
|
||||||
|
* Remove a useless assignment. Reported and fix submitted by irwir.
|
||||||
|
Fixes #2801.
|
||||||
|
|
||||||
= mbed TLS 2.19.1 branch released 2019-09-16
|
= mbed TLS 2.19.1 branch released 2019-09-16
|
||||||
|
|
||||||
Features
|
Features
|
||||||
|
|
|
@ -6568,16 +6568,9 @@ int mbedtls_ssl_handle_message_type( mbedtls_ssl_context *ssl )
|
||||||
|
|
||||||
int mbedtls_ssl_send_fatal_handshake_failure( mbedtls_ssl_context *ssl )
|
int mbedtls_ssl_send_fatal_handshake_failure( mbedtls_ssl_context *ssl )
|
||||||
{
|
{
|
||||||
int ret;
|
return( mbedtls_ssl_send_alert_message( ssl,
|
||||||
|
|
||||||
if( ( ret = mbedtls_ssl_send_alert_message( ssl,
|
|
||||||
MBEDTLS_SSL_ALERT_LEVEL_FATAL,
|
MBEDTLS_SSL_ALERT_LEVEL_FATAL,
|
||||||
MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE ) ) != 0 )
|
MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE ) );
|
||||||
{
|
|
||||||
return( ret );
|
|
||||||
}
|
|
||||||
|
|
||||||
return( 0 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int mbedtls_ssl_send_alert_message( mbedtls_ssl_context *ssl,
|
int mbedtls_ssl_send_alert_message( mbedtls_ssl_context *ssl,
|
||||||
|
|
Loading…
Reference in a new issue