From ea44bd78b9b999ef040af4a830a17359b5d15f83 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 27 Apr 2015 19:15:05 +0000 Subject: [PATCH] - set tunel's e_state from axolotl --- src/cadet/gnunet-service-cadet_tunnel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 554dcfaac..84b0e4a22 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -2507,6 +2507,7 @@ handle_kx_ax (struct CadetTunnel *t, const struct GNUNET_CADET_AX_KX *msg) ax->CKs = keys[4]; ax->ratchet_flag = GNUNET_NO; } + GCT_change_estate (t, CADET_TUNNEL_KEY_OK); } @@ -3715,6 +3716,7 @@ GCT_send_ax_kx (struct CadetTunnel *t) GNUNET_CRYPTO_ecdhe_key_get_public (t->ax->DHRs, &msg.ratchet_key); t->ephm_h = send_kx (t, &msg.header); + GCT_change_estate (t, CADET_TUNNEL_KEY_SENT); } -- 2.25.1