Commit 96fd6f3b authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Not requiring client to provide its certificate.

darcs-hash:20050916072239-65a35-dc26e9423b3efd0668362a0daf0049767cccf558.gz
parent 10cac89b
......@@ -233,7 +233,7 @@ int tls_init_context(tls_t *tls, tls_issues_t const *ti)
SSL_CTX_set_verify_depth(tls->ctx, ti->verify_depth);
SSL_CTX_set_verify(tls->ctx,
SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT,
SSL_VERIFY_PEER /* | SSL_VERIFY_FAIL_IF_NO_PEER_CERT */,
tls_verify_cb);
if (!SSL_CTX_set_cipher_list(tls->ctx, ti->cipher)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment