Developing a VPN Client, The server(from cluster chosen by DNS random ip response) may/may not request the certificate from client. Depends on the state MBEDTLS_SSL_CERTIFICATE_REQUEST. Need to enable certain policies iﬀ server request certificate from my client application,
I could tweak into ssl_cli.c to set a global_flag, however, it is not clean way, also tried mbedtls_ssl_get_verify_result, no solution. Any suggestion?