gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r35595 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r35595 - gnunet/src/cadet
Date: Mon, 27 Apr 2015 21:14:37 +0200

Author: bartpolot
Date: 2015-04-27 21:14:37 +0200 (Mon, 27 Apr 2015)
New Revision: 35595

Modified:
   gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- don't check own ephemeral

Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2015-04-27 19:14:35 UTC 
(rev 35594)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2015-04-27 19:14:37 UTC 
(rev 35595)
@@ -2368,7 +2368,6 @@
 static void
 handle_kx_ax (struct CadetTunnel *t, const struct GNUNET_CADET_AX_KX *msg)
 {
-  struct GNUNET_CRYPTO_EcdhePublicKey eph;
   struct CadetTunnelAxolotl *ax;
   struct GNUNET_HashCode key_material[3];
   struct GNUNET_CRYPTO_SymmetricSessionKey keys[5];
@@ -2400,13 +2399,6 @@
   ax = t->ax;
   ax->DHRr = msg->ratchet_key;
 
-  GNUNET_CRYPTO_ecdhe_key_get_public (ax->DHRs, &eph);
-  if (0 != memcmp (&eph, &msg->peers_key, sizeof (eph)))
-  {
-    send_ax_kx ();
-    return;
-  }
-
   /* ECDH A B0 */
   if (GNUNET_YES == is_alice)
   {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]