diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-08-19 19:12:06 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-08-19 19:12:06 +0200 |
commit | 6339dc3bdbf1a908d288d7bad4a7332a1179c253 (patch) | |
tree | 18fc3e1cce4e4885f86f6e45344f3a7dfb54e8cb /src/util/crypto_rsa.c | |
parent | 95e09c7668e0d41e82b069caae5310d7fa5cbd71 (diff) | |
download | gnunet-6339dc3bdbf1a908d288d7bad4a7332a1179c253.tar.gz gnunet-6339dc3bdbf1a908d288d7bad4a7332a1179c253.zip |
benchmark: count rsa_blind properly
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r-- | src/util/crypto_rsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
785 | 785 | ||
786 | *buf_size = numeric_mpi_alloc_n_print (data_r_e, buf); | 786 | *buf_size = numeric_mpi_alloc_n_print (data_r_e, buf); |
787 | gcry_mpi_release (data_r_e); | 787 | gcry_mpi_release (data_r_e); |
788 | return GNUNET_YES; | ||
789 | 788 | ||
790 | BENCHMARK_END (rsa_blind); | 789 | BENCHMARK_END (rsa_blind); |
791 | 790 | ||
791 | return GNUNET_YES; | ||
792 | |||
792 | rsa_gcd_validate_failure: | 793 | rsa_gcd_validate_failure: |
793 | /* We know the RSA key is malicious here, so warn the wallet. */ | 794 | /* We know the RSA key is malicious here, so warn the wallet. */ |
794 | /* GNUNET_break_op (0); */ | 795 | /* GNUNET_break_op (0); */ |