mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Rename the finalize_client{server}_hello()
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
@ -964,14 +964,14 @@ int mbedtls_ssl_write_client_hello(mbedtls_ssl_context *ssl)
|
||||
|
||||
/*
|
||||
* Set next state. Note that if TLS 1.3 is proposed, this may be
|
||||
* overwritten by mbedtls_ssl_tls13_finalize_write_client_hello().
|
||||
* overwritten by mbedtls_ssl_tls13_finalize_client_hello().
|
||||
*/
|
||||
mbedtls_ssl_handshake_set_state(ssl, MBEDTLS_SSL_SERVER_HELLO);
|
||||
|
||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||
if (ssl->handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_3 &&
|
||||
MBEDTLS_SSL_VERSION_TLS1_3 <= ssl->tls_version) {
|
||||
ret = mbedtls_ssl_tls13_finalize_write_client_hello(ssl);
|
||||
ret = mbedtls_ssl_tls13_finalize_client_hello(ssl);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user