summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/protocols/ec25519_fhmqvc/handshake.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c
index e975e6d..8563ba2 100644
--- a/src/protocols/ec25519_fhmqvc/handshake.c
+++ b/src/protocols/ec25519_fhmqvc/handshake.c
@@ -519,6 +519,7 @@ void fastd_protocol_ec25519_fhmqvc_handshake_init(fastd_socket_t *sock, const fa
}
+/** Prints a message when a handshake from an unknown peer is received */
static inline void print_unknown_key(const fastd_peer_address_t *addr, const unsigned char key[PUBLICKEYBYTES]) {
char buf[65];
hexdump(buf, key);
@@ -526,6 +527,7 @@ static inline void print_unknown_key(const fastd_peer_address_t *addr, const uns
pr_verbose("ignoring handshake from %I (unknown key %s)", addr, buf);
}
+
#ifdef WITH_DYNAMIC_PEERS
/** Data attached to an asynchronous on-verify run */