aboutsummaryrefslogtreecommitdiff
path: root/test/test_p2p_tls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_p2p_tls.cpp')
-rw-r--r--test/test_p2p_tls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_p2p_tls.cpp b/test/test_p2p_tls.cpp
index fa0487d..f814643 100644
--- a/test/test_p2p_tls.cpp
+++ b/test/test_p2p_tls.cpp
@@ -119,7 +119,7 @@ struct Net {
std::string(conn->get_peer_addr()).c_str(),
salticidae::get_hash(conn->get_peer_cert()->get_der()).to_hex().c_str());
});
- net->reg_unknown_peer_handler([this](const NetAddr &claimed_addr) {
+ net->reg_unknown_peer_handler([this](const NetAddr &claimed_addr, const salticidae::X509 *) {
fprintf(stdout, "net %lu: unknown peer %s attempts to connnect\n",
this->id, std::string(claimed_addr).c_str());
});