mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-20 16:42:59 +03:00
Change authmode default to Required on client
This commit is contained in:
@ -1156,8 +1156,9 @@ int ssl_set_transport( ssl_context *ssl, int transport );
|
||||
* \param ssl SSL context
|
||||
* \param authmode can be:
|
||||
*
|
||||
* SSL_VERIFY_NONE: peer certificate is not checked (default),
|
||||
* this is insecure and SHOULD be avoided.
|
||||
* SSL_VERIFY_NONE: peer certificate is not checked
|
||||
* (default on server)
|
||||
* (insecure on client)
|
||||
*
|
||||
* SSL_VERIFY_OPTIONAL: peer certificate is checked, however the
|
||||
* handshake continues even if verification failed;
|
||||
|
Reference in New Issue
Block a user