summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc/handshake.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-18 22:08:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-18 22:08:30 +0200
commitcb3c88e020dbfd028f7d8b79b9bf97bcb0b34ea5 (patch)
tree77a4aa43ce21d7ade33243af9666e4a6fe2a4cb7 /src/protocols/ec25519_fhmqvc/handshake.c
parent5d111c83ff2fb9fb1e094ccfdfa919a4731ec05b (diff)
downloadfastd-cb3c88e020dbfd028f7d8b79b9bf97bcb0b34ea5.tar
fastd-cb3c88e020dbfd028f7d8b79b9bf97bcb0b34ea5.zip
Rename WITH_VERIFY CMake option to WITH_DYNAMIC_PEERS
Diffstat (limited to 'src/protocols/ec25519_fhmqvc/handshake.c')
-rw-r--r--src/protocols/ec25519_fhmqvc/handshake.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c
index 7fcc40c..fb4fd1e 100644
--- a/src/protocols/ec25519_fhmqvc/handshake.c
+++ b/src/protocols/ec25519_fhmqvc/handshake.c
@@ -553,7 +553,7 @@ bool fastd_protocol_ec25519_fhmqvc_peer_check_dynamic(fastd_peer_t *peer) {
}
-#ifdef WITH_VERIFY
+#ifdef WITH_DYNAMIC_PEERS
/** Data attached to an asynchronous on-verify run */
typedef struct verify_data {
@@ -635,7 +635,7 @@ static inline fastd_peer_t * add_dynamic(fastd_socket_t *sock UNUSED, const fast
return NULL;
}
-#endif /* WITH_VERIFY */
+#endif /* WITH_DYNAMIC_PEERS */
/** Handles a received handshake packet */
@@ -689,7 +689,7 @@ void fastd_protocol_ec25519_fhmqvc_handshake_handle(fastd_socket_t *sock, const
}
}
-#ifdef WITH_VERIFY
+#ifdef WITH_DYNAMIC_PEERS
if (fastd_peer_is_dynamic(peer)) {
if (!handle_dynamic(sock, local_addr, remote_addr, peer, handshake, method))
return;