track
authorChristian Grothoff <christian@grothoff.org>
Thu, 23 Dec 2010 22:23:54 +0000 (22:23 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 23 Dec 2010 22:23:54 +0000 (22:23 +0000)
src/core/gnunet-service-core.c

index 93e041056b7babd2c93b331bf51629be826d2a3d..290160414c40040df7ac771f1014e67c126a5c9f 100644 (file)
@@ -4210,7 +4210,11 @@ handle_transport_receive (void *cls,
       if ((n->status != PEER_STATE_KEY_RECEIVED) &&
           (n->status != PEER_STATE_KEY_CONFIRMED))
         {
-          GNUNET_break_op (0);
+         GNUNET_STATISTICS_update (stats,
+                                   gettext_noop ("# failed to decrypt message (no session key)"), 
+                                   1, 
+                                   GNUNET_NO);
+          send_key (n);
           return;
         }
       handle_encrypted_message (n,