summaryrefslogtreecommitdiffstats
path: root/src/protocols
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-10-31 01:28:22 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-10-31 01:28:22 +0100
commit58ec26f6b7a0400c8fa05263be9b19bb179495fd (patch)
treeb424d715e38e29c3579e0e52cfa7f22dfa242b1e /src/protocols
parent763401c89d4f1dd328a5b4b3efae91f076043549 (diff)
downloadfastd-58ec26f6b7a0400c8fa05263be9b19bb179495fd.tar
fastd-58ec26f6b7a0400c8fa05263be9b19bb179495fd.zip
Rename session_init to session_init_compat to prepare for the upcoming new key derivation scheme
Diffstat (limited to 'src/protocols')
-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 75cca96..d1c0bf9 100644
--- a/src/protocols/ec25519_fhmqvc/handshake.c
+++ b/src/protocols/ec25519_fhmqvc/handshake.c
@@ -230,7 +230,7 @@ static bool establish(fastd_context_t *ctx, fastd_peer_t *peer, const char *meth
peer->protocol_state->session.handshakes_cleaned = false;
peer->protocol_state->session.refreshing = false;
peer->protocol_state->session.method = method;
- peer->protocol_state->session.method_state = method->session_init(ctx, hash.b, HASHBYTES, initiator);
+ peer->protocol_state->session.method_state = method->session_init_compat(ctx, hash.b, HASHBYTES, initiator);
peer->protocol_state->last_serial = serial;
fastd_peer_seen(ctx, peer);