mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-24 15:40:03 +00:00
Add TLS1_3 guard to finalize_write_client_hello() to fix compile issue
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
parent
2a674937dd
commit
b46275c7ec
@ -963,7 +963,9 @@ int mbedtls_ssl_write_client_hello(mbedtls_ssl_context *ssl)
|
||||
buf_len,
|
||||
msg_len));
|
||||
|
||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||
mbedtls_ssl_tls13_finalize_write_client_hello(ssl);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
@ -2740,6 +2740,8 @@ static inline void mbedtls_ssl_session_clear_ticket_flags(
|
||||
}
|
||||
#endif /* MBEDTLS_SSL_PROTO_TLS1_3 && MBEDTLS_SSL_SESSION_TICKETS */
|
||||
|
||||
#if defined(MBEDTLS_SSL_CLI_C) && defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||
int mbedtls_ssl_tls13_finalize_write_client_hello(mbedtls_ssl_context *ssl);
|
||||
#endif
|
||||
|
||||
#endif /* ssl_misc.h */
|
||||
|
Loading…
x
Reference in New Issue
Block a user