gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r329 - GNUnet/src/util


From: grothoff
Subject: [GNUnet-SVN] r329 - GNUnet/src/util
Date: Sat, 26 Feb 2005 21:33:43 -0800 (PST)

Author: grothoff
Date: 2005-02-26 21:33:42 -0800 (Sat, 26 Feb 2005)
New Revision: 329

Modified:
   GNUnet/src/util/hashing.c
Log:
fix

Modified: GNUnet/src/util/hashing.c
===================================================================
--- GNUnet/src/util/hashing.c   2005-02-27 05:31:05 UTC (rev 328)
+++ GNUnet/src/util/hashing.c   2005-02-27 05:33:42 UTC (rev 329)
@@ -395,7 +395,7 @@
         sizeof(HashCode160) - SESSIONKEY_LEN);
   GNUNET_ASSERT(sizeof(HashCode160) - SESSIONKEY_LEN ==
                sizeof(INITVECTOR) - (sizeof(HashCode160) - SESSIONKEY_LEN));
-  memcpy(&iv->iv[sizeof(HashCode160) - sizeof(SESSIONKEY)],
+  memcpy(&iv->iv[sizeof(HashCode160) - SESSIONKEY_LEN],
         &(((char *)hc)[SESSIONKEY_LEN]), 
         sizeof(HashCode160) - sizeof(SESSIONKEY));
 }





reply via email to

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