[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2678 - GNUnet/src/applications/identity
From: |
durner |
Subject: |
[GNUnet-SVN] r2678 - GNUnet/src/applications/identity |
Date: |
Fri, 28 Apr 2006 09:41:18 -0700 (PDT) |
Author: durner
Date: 2006-04-28 09:41:14 -0700 (Fri, 28 Apr 2006)
New Revision: 2678
Modified:
GNUnet/src/applications/identity/identity.c
Log:
debug output for Mantis #1039
Modified: GNUnet/src/applications/identity/identity.c
===================================================================
--- GNUnet/src/applications/identity/identity.c 2006-04-28 06:01:53 UTC (rev
2677)
+++ GNUnet/src/applications/identity/identity.c 2006-04-28 16:41:14 UTC (rev
2678)
@@ -702,10 +702,15 @@
helo = identity2Helo(signer,
ANY_PROTOCOL_NUMBER,
YES);
- if (helo == NULL)
+ if (helo == NULL) {
+ LOG(LOG_ERROR, _("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"));
+
FREE(helo);
return res;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2678 - GNUnet/src/applications/identity,
durner <=