diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 632ce799cb..dc86f7a0f4 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -2908,7 +2908,7 @@ handle_kx_ax (struct CadetTunnel *t, const struct GNUNET_CADET_AX_KX *msg) (GNUNET_CADET_AX_KX_FLAG_FORCE_REPLY & ntohl (msg->flags))) GCT_send_ax_kx (t, GNUNET_NO); - if (CADET_TUNNEL_KEY_OK == t->estate) + if (0 == memcmp(&ax->DHRr, &msg->ratchet_key, sizeof(msg->ratchet_key))) return; LOG (GNUNET_ERROR_TYPE_INFO, " is Alice? %s\n", am_I_alice ? "YES" : "NO"); |