gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r2837 - in GNUnet/src/applications: identity session


From: grothoff
Subject: [GNUnet-SVN] r2837 - in GNUnet/src/applications: identity session
Date: Tue, 16 May 2006 23:51:12 -0700 (PDT)

Author: grothoff
Date: 2006-05-16 23:51:08 -0700 (Tue, 16 May 2006)
New Revision: 2837

Modified:
   GNUnet/src/applications/identity/identity.c
   GNUnet/src/applications/session/connect.c
Log:
common, if rare acceptable behavior should not cause ERROR-style log messages

Modified: GNUnet/src/applications/identity/identity.c
===================================================================
--- GNUnet/src/applications/identity/identity.c 2006-05-17 03:29:14 UTC (rev 
2836)
+++ GNUnet/src/applications/identity/identity.c 2006-05-17 06:51:08 UTC (rev 
2837)
@@ -703,13 +703,15 @@
                       ANY_PROTOCOL_NUMBER,
                       YES);
   if (helo == NULL) {
-    LOG(LOG_ERROR, _("Signature failed verification: other peer not 
known.\n"));
+    LOG(LOG_INFO, 
+       _("Signature failed verification: other peer not known.\n"));
     return SYSERR;
   }
   res = verifySig(message, size, sig,
                  &helo->publicKey);
   if (res == SYSERR)
-    LOG(LOG_ERROR, _("Signature failed verification: signature invalid.\n"));
+    LOG(LOG_ERROR,
+       _("Signature failed verification: signature invalid.\n"));
 
   FREE(helo);
   return res;

Modified: GNUnet/src/applications/session/connect.c
===================================================================
--- GNUnet/src/applications/session/connect.c   2006-05-17 03:29:14 UTC (rev 
2836)
+++ GNUnet/src/applications/session/connect.c   2006-05-17 06:51:08 UTC (rev 
2837)
@@ -403,7 +403,6 @@
   FREE(ping);
   if (skey == NULL) {
     transport->disconnect(tsession);
-    BREAK();
     return SYSERR;
   }
 





reply via email to

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