Remove useless guards and refine checking
Change-Id: I9cd3073826fc65c203e479d83bed72331ff8963d
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
diff --git a/library/ssl_misc.h b/library/ssl_misc.h
index 01420dd..2d51333 100644
--- a/library/ssl_misc.h
+++ b/library/ssl_misc.h
@@ -510,8 +510,9 @@
#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)