fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 14 Oct 2010 09:52:52 +0000 (09:52 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 14 Oct 2010 09:52:52 +0000 (09:52 +0000)
src/util/crypto_ksk.c
src/util/test_crypto_ksk.c

index b44c8e992beed5a97809a3a49fb2e387297d1f67..7a0b4410a07df58766e17ebad1599c448e611d09 100644 (file)
@@ -87,8 +87,6 @@ mpz_randomize (gcry_mpi_t n, unsigned int nbits, GNUNET_HashCode * rnd)
 
       if (i > 0)
        GNUNET_CRYPTO_hash (&hc, sizeof (GNUNET_HashCode), &tmp);
-      fprintf (stderr, "H: %s\n", GNUNET_h2s (&tmp));
-
       for (j=0;j<sizeof(GNUNET_HashCode) / sizeof(uint32_t); j++)
         {
 #if HAVE_GCRY_MPI_LSHIFT 
index 1e3b06f6aa7de4192bb7247d7e799557f5ae7542..2a8d9c969dfe32b5a7a5a6796423ceda3cd7e310 100644 (file)
@@ -55,7 +55,7 @@ testCorrectKey ()
     }
   GNUNET_CRYPTO_rsa_key_get_public (hostkey, &pkey);
   GNUNET_CRYPTO_rsa_key_free (hostkey);
-#if 1
+#if 0
   for (i=0;i<sizeof(struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded);i++)
     printf("%02x", ((unsigned char*) &pkey)[i]);
   printf ("\n");