1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Remove useless guards and refine checking

Change-Id: I9cd3073826fc65c203e479d83bed72331ff8963d
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
This commit is contained in:
XiaokangQian
2022-05-13 05:55:41 +00:00
parent 189ded2b07
commit c3017f620f
4 changed files with 43 additions and 51 deletions

View File

@ -510,8 +510,9 @@ struct mbedtls_ssl_handshake_params
#endif
#if defined(MBEDTLS_SSL_SRV_C)
/** cert_request_send to indicate whether client certitifacte request */
uint16_t cert_request_send;
/* Flag indicating if a CertificateRequest message has been sent
* to the client or not. */
uint16_t certificate_request_sent;
#endif /* MBEDTLS_SSL_SRV_C */
#if defined(MBEDTLS_SSL_SESSION_TICKETS)