aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-28 17:37:10 -0400
committerDeterminant <[email protected]>2019-06-28 17:37:10 -0400
commitb8bdd8237ca51439995e1990bbc4f39f8a96fbfe (patch)
tree8ff892ceec9a02111f27b9a3fee1928027943aa6 /src
parentfedfeaced48150e27907628244e95ca54dbe7c02 (diff)
...
Diffstat (limited to 'src')
-rw-r--r--src/network.cpp4
1 files changed, 2 insertions, 2 deletions
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);
});
}