stuff
authorChristian Grothoff <christian@grothoff.org>
Tue, 8 Sep 2009 07:27:51 +0000 (07:27 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 8 Sep 2009 07:27:51 +0000 (07:27 +0000)
src/util/crypto_hash.c

index bc15113c64037481fa9fd0aca08f06394e03b2a7..0370d74fbe0b6cf87e2648584907520ca5ccf411 100644 (file)
@@ -283,7 +283,7 @@ sha512_final (struct sha512_ctx *sctx, unsigned char *hash)
   unsigned long long t2;
   int i, j;
 
-  t = i = j = 0;
+  i = j = 0;
 
   /* Save number of bits */
   t = sctx->count[0];
@@ -352,6 +352,7 @@ sha512_final (struct sha512_ctx *sctx, unsigned char *hash)
   memset (sctx, 0, sizeof (struct sha512_ctx));
 }
 
+
 /**
  * Hash block of given size.
  *
@@ -364,7 +365,7 @@ GNUNET_CRYPTO_hash (const void *block, unsigned int size,
                     GNUNET_HashCode * ret)
 {
   struct sha512_ctx ctx;
-
+  
   sha512_init (&ctx);
   sha512_update (&ctx, block, size);
   sha512_final (&ctx, (unsigned char *) ret);