summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-04 03:36:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-09 06:16:14 +0200
commit7879164915659c16b96b4bb5c4a6dca13b793f37 (patch)
treec2d1606c95fb97f68f97555f112e200d2b93b2f3 /src/protocols/ec25519_fhmqvc
parente0f99a4199ade6ca2d2325d1d38a45e4ce403fa1 (diff)
downloadfastd-7879164915659c16b96b4bb5c4a6dca13b793f37.tar
fastd-7879164915659c16b96b4bb5c4a6dca13b793f37.zip
Move fastd_config_t.peers to fastd_context_t.peer_configs
Diffstat (limited to 'src/protocols/ec25519_fhmqvc')
-rw-r--r--src/protocols/ec25519_fhmqvc/handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c
index 9a1c8de..68c37d2 100644
--- a/src/protocols/ec25519_fhmqvc/handshake.c
+++ b/src/protocols/ec25519_fhmqvc/handshake.c
@@ -486,7 +486,7 @@ static size_t key_count(const unsigned char key[PUBLICKEYBYTES]) {
size_t ret = 0;
fastd_peer_config_t *p;
- for (p = conf.peers; p; p = p->next) {
+ for (p = ctx.peer_configs; p; p = p->next) {
if (!p->protocol_config)
continue;