aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/binary_utils.h
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 /src/serialization/binary_utils.h
parent21eb1b0725717ad013d3e2b00fbfc3b84ad04699 (diff)
downloadmonzero-core-96d602ac84d856c26a9065bfccbe2b98237db271.tar.gz
monzero-core-96d602ac84d856c26a9065bfccbe2b98237db271.tar.xz
monzero-core-96d602ac84d856c26a9065bfccbe2b98237db271.zip
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 'src/serialization/binary_utils.h')
0 files changed, 0 insertions, 0 deletions