gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r3424 - GNUnet/src/util/crypto


From: grothoff
Subject: [GNUnet-SVN] r3424 - GNUnet/src/util/crypto
Date: Sat, 30 Sep 2006 18:40:54 -0700 (PDT)

Author: grothoff
Date: 2006-09-30 18:40:52 -0700 (Sat, 30 Sep 2006)
New Revision: 3424

Modified:
   GNUnet/src/util/crypto/symciphertest.c
Log:
fixing 1139

Modified: GNUnet/src/util/crypto/symciphertest.c
===================================================================
--- GNUnet/src/util/crypto/symciphertest.c      2006-10-01 01:40:33 UTC (rev 
3423)
+++ GNUnet/src/util/crypto/symciphertest.c      2006-10-01 01:40:52 UTC (rev 
3424)
@@ -84,7 +84,7 @@
   memcpy(key.key, raw_key, SESSIONKEY_LEN);
   key.crc32 = htonl(crc32N(&key, SESSIONKEY_LEN));
 
-  if (key.crc32 != (unsigned int) 2344502530LL) {
+  if (ntohl(key.crc32) != (unsigned int) 2344502530LL) {
     printf("Static key has different CRC\n");
 
     ret = 1;





reply via email to

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