aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2019-03-17 16:11:42 -0400
committerLee Clagett <code@leeclagett.com>2019-04-07 00:44:37 -0400
commit96d602ac84d856c26a9065bfccbe2b98237db271 (patch)
treedc14b5287d364f6e2b1bfd223e800400333f72ba /contrib/epee/include
parentPass SSL arguments via one class and use shared_ptr instead of reference (diff)
downloadmonero-96d602ac84d856c26a9065bfccbe2b98237db271.tar.xz
Add `verify_fail_if_no_cert` option for proper client authentication
Using `verify_peer` on server side requests a certificate from the client. If no certificate is provided, the server silently accepts the connection and rejects if the client sends an unexpected certificate. Adding `verify_fail_if_no_cert` has no affect on client and for server requires that the peer sends a certificate or fails the handshake. This is the desired behavior when the user specifies a fingerprint or CA file.
Diffstat (limited to 'contrib/epee/include')
0 files changed, 0 insertions, 0 deletions