mirror of
https://github.com/monero-project/monero.git
synced 2025-02-25 09:41:11 -05:00

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.
epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.