fix ftbfs
authorChristian Grothoff <christian@grothoff.org>
Sat, 16 Apr 2016 12:04:17 +0000 (12:04 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 16 Apr 2016 12:04:17 +0000 (12:04 +0000)
src/util/perf_crypto_rsa.c

index 70cd785b5a6294cf2240990b80a91f375e2a9c32..02a9ae6c32a56902e0f35e6ca27a0f7204884804 100644 (file)
@@ -117,9 +117,9 @@ eval (unsigned int len)
   start = GNUNET_TIME_absolute_get ();
   for (i=0;i<10;i++)
   {
-    sig = GNUNET_CRYPTO_rsa_sign (private_key,
-                                  bbuf,
-                                  bbuf_len);
+    sig = GNUNET_CRYPTO_rsa_sign_blinded (private_key,
+                                          bbuf,
+                                          bbuf_len);
     GNUNET_CRYPTO_rsa_signature_free (sig);
   }
   printf ("10x %u-signing took %s\n",
@@ -135,9 +135,9 @@ eval (unsigned int len)
           64 * 1024 / (1 +
                       GNUNET_TIME_absolute_get_duration
                       (start).rel_value_us / 1000LL), "ops/ms");
-  sig = GNUNET_CRYPTO_rsa_sign (private_key,
-                                bbuf,
-                                bbuf_len);
+  sig = GNUNET_CRYPTO_rsa_sign_blinded (private_key,
+                                        bbuf,
+                                        bbuf_len);
   start = GNUNET_TIME_absolute_get ();
   for (i=0;i<10;i++)
   {