gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: benchmark: count rsa_blind


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: benchmark: count rsa_blind properly
Date: Sun, 19 Aug 2018 19:13:24 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 6339dc3bd benchmark: count rsa_blind properly
6339dc3bd is described below

commit 6339dc3bdbf1a908d288d7bad4a7332a1179c253
Author: Florian Dold <address@hidden>
AuthorDate: Sun Aug 19 19:12:06 2018 +0200

    benchmark: count rsa_blind properly
---
 src/util/crypto_rsa.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index 26c33d5f3..c981ea63b 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -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); */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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