benchmark: count rsa_blind properly
authorFlorian Dold <florian.dold@gmail.com>
Sun, 19 Aug 2018 17:12:06 +0000 (19:12 +0200)
committerFlorian Dold <florian.dold@gmail.com>
Sun, 19 Aug 2018 17:12:06 +0000 (19:12 +0200)
src/util/crypto_rsa.c

index 26c33d5f37138ff7a33d34e1e85393f16f2f2802..c981ea63bb49251d718648e5afa190bd7877626a 100644 (file)
@@ -785,10 +785,11 @@ GNUNET_CRYPTO_rsa_blind (const struct GNUNET_HashCode *hash,
 
   *buf_size = numeric_mpi_alloc_n_print (data_r_e, buf);
   gcry_mpi_release (data_r_e);
-  return GNUNET_YES;
 
   BENCHMARK_END (rsa_blind);
 
+  return GNUNET_YES;
+
 rsa_gcd_validate_failure:
   /* We know the RSA key is malicious here, so warn the wallet. */
   /* GNUNET_break_op (0); */