Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mbedtls: client: check cert exists and is valid
It should be SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, but it was only SSL_VERIFY_FAIL_IF_NO_PEER_CERT, so it didn't verify the cert, it only checked its existence. To fix that, turn on both just like openssl-server.c does.
- Loading branch information