Return through cleanup section in ssl_load_buffered_message()

This commit is contained in:
Hanno Becker 2018-08-20 09:36:59 +01:00
parent 56cdfd1e29
commit 0d4b376ddf

View file

@ -4387,7 +4387,7 @@ static int ssl_load_buffered_message( mbedtls_ssl_context *ssl )
{ {
MBEDTLS_SSL_DEBUG_MSG( 2, ( "CCS not seen in the current flight" ) ); MBEDTLS_SSL_DEBUG_MSG( 2, ( "CCS not seen in the current flight" ) );
ret = -1; ret = -1;
return( -1 ); goto exit;
} }
MBEDTLS_SSL_DEBUG_MSG( 2, ( "Inject buffered CCS message" ) ); MBEDTLS_SSL_DEBUG_MSG( 2, ( "Inject buffered CCS message" ) );