force change state type

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2021-08-31 13:12:43 +08:00
parent 159c5a0e12
commit 67d4ed5b22

View File

@ -1408,7 +1408,7 @@ static inline int mbedtls_ssl_conf_is_hybrid_tls12_tls13( const mbedtls_ssl_conf
static inline void mbedtls_ssl_handshake_set_state( mbedtls_ssl_context *ssl, static inline void mbedtls_ssl_handshake_set_state( mbedtls_ssl_context *ssl,
mbedtls_ssl_states state ) mbedtls_ssl_states state )
{ {
ssl->state = state; ssl->state = ( int ) state;
} }
/* /*