Merge branch '2.3' into 2.4
This commit is contained in:
commit
5351d43065
@ -371,7 +371,7 @@ bool SSLContext::init()
|
||||
/* Set to require peer (client) certificate verification */
|
||||
if (m_cfg.verify_peer)
|
||||
{
|
||||
SSL_CTX_set_verify(m_ctx, SSL_VERIFY_PEER, NULL);
|
||||
SSL_CTX_set_verify(m_ctx, SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, NULL);
|
||||
}
|
||||
|
||||
/* Set the verification depth */
|
||||
|
Loading…
x
Reference in New Issue
Block a user