Wrap client_auth.
The variable is used for client side only
@@ -1615,8 +1615,12 @@ struct mbedtls_ssl_context
/*
* PKI layer
*/
- int MBEDTLS_PRIVATE(client_auth); /*!< flag for client auth. */
-
+#if defined(MBEDTLS_SSL_CLI_C)
+ int MBEDTLS_PRIVATE(client_auth); /*!< used to check if CertificateRequest is
+ received from server side. If
+ CertificateReqeust is received, Certificate
+ and CertificateVerify should be sent to server */
+#endif /* MBEDTLS_SSL_CLI_C */
/*
* User settings
*/
