summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-11-11 23:51:53 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-11-11 23:51:53 +0100
commit6b5c3737e8cae1ebbc2009002ae849c23477378c (patch)
treef9360b0a4e424df9b69ddd79480419afbe8509ca /src/protocols/ec25519_fhmqvc
parent0eadea23a8bb58d6f44e12bba8b38aae184f3dda (diff)
downloadfastd-6b5c3737e8cae1ebbc2009002ae849c23477378c.tar
fastd-6b5c3737e8cae1ebbc2009002ae849c23477378c.zip
ec25519-fhmqvc: add missing Doxygen comment
Diffstat (limited to 'src/protocols/ec25519_fhmqvc')
-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 */