From b8bdd8237ca51439995e1990bbc4f39f8a96fbfe Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 28 Jun 2019 17:37:10 -0400 Subject: ... --- src/network.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/network.cpp b/src/network.cpp index adcac99..78f653b 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -262,8 +262,8 @@ void peernetwork_reg_peer_handler(peernetwork_t *self, void peernetwork_reg_unknown_peer_handler(peernetwork_t *self, peernetwork_unknown_peer_callback_t cb, void *userdata) { - self->reg_unknown_peer_handler([=](const NetAddr &claimed_addr) { - cb(&claimed_addr, userdata); + self->reg_unknown_peer_handler([=](const NetAddr &claimed_addr, const salticidae::X509 *cert) { + cb(&claimed_addr, cert, userdata); }); } -- cgit v1.2.3-70-g09d2