diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-06-04 20:17:08 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-06-04 20:17:08 +0200 |
commit | 163469f1adcff4225e5391d5fe773221b44141d3 (patch) | |
tree | 61614c4be268efae8c921c92ce3cef25a868b5d1 | |
parent | 210a447124c836c3200aa7c104c2c8576a119697 (diff) | |
download | fastd-163469f1adcff4225e5391d5fe773221b44141d3.tar fastd-163469f1adcff4225e5391d5fe773221b44141d3.zip |
Make sure refresh handshakes aren't cleaned
-rw-r--r-- | src/protocol_ec25519_fhmqvc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol_ec25519_fhmqvc.c b/src/protocol_ec25519_fhmqvc.c index 96ee428..31cf2b6 100644 --- a/src/protocol_ec25519_fhmqvc.c +++ b/src/protocol_ec25519_fhmqvc.c @@ -145,6 +145,7 @@ static inline void check_session_refresh(fastd_context *ctx, fastd_peer *peer) { if (!session->refreshing && ctx->conf->method->session_is_initiator(ctx, session->method_state) && ctx->conf->method->session_want_refresh(ctx, session->method_state)) { pr_debug(ctx, "refreshing session with %P", peer); + session->handshakes_cleaned = true; session->refreshing = true; fastd_task_schedule_handshake(ctx, peer, 0); } |