gnunet-svn
[Top][All Lists]
Advanced

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

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


From: grothoff
Subject: [GNUnet-SVN] r4264 - GNUnet/src/util/crypto
Date: Mon, 8 Jan 2007 20:00:38 -0800 (PST)

Author: grothoff
Date: 2007-01-08 20:00:36 -0800 (Mon, 08 Jan 2007)
New Revision: 4264

Modified:
   GNUnet/src/util/crypto/hashingtest.c
Log:
cleanup

Modified: GNUnet/src/util/crypto/hashingtest.c
===================================================================
--- GNUnet/src/util/crypto/hashingtest.c        2007-01-09 03:58:08 UTC (rev 
4263)
+++ GNUnet/src/util/crypto/hashingtest.c        2007-01-09 04:00:36 UTC (rev 
4264)
@@ -33,16 +33,16 @@
   HashCode512 h2;
   EncName enc;
 
-  memset(&h1, number, sizeof(HashCode512));
+  memset(&h1, 
+        number, 
+        sizeof(HashCode512));
   hash2enc(&h1, &enc);
   if (OK != enc2hash((char*)&enc, &h2)) {
     printf("enc2hash failed!\n");
     return 1;
   }
-
-  if (! equalsHashCode512(&h1, &h2)) {
-    return 1;
-  }
+  if (! equalsHashCode512(&h1, &h2)) 
+    return 1;  
   return 0;
 }
 





reply via email to

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