summaryrefslogtreecommitdiff
path: root/tests/benchmark.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-12-05 08:46:01 +0000
committerWerner Koch <wk@gnupg.org>2008-12-05 08:46:01 +0000
commit7896550149f1969c7381371dc345a4031290305b (patch)
treec4daf050882b48fb4d8ed926b6dd6469c12134bc /tests/benchmark.c
parenta51072bd6bf2c44bdd081d30c0fa1b8214e50471 (diff)
downloadlibgcrypt-7896550149f1969c7381371dc345a4031290305b.tar.gz
Fixed error cases in mpicoder.
Documentation cleanups.
Diffstat (limited to 'tests/benchmark.c')
-rw-r--r--tests/benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmark.c b/tests/benchmark.c
index 6479792f..8f8f04ce 100644
--- a/tests/benchmark.c
+++ b/tests/benchmark.c
@@ -640,7 +640,7 @@ rsa_bench (int iterations, int print_header, int no_blinding)
fflush (stdout);
err = gcry_sexp_build (&key_spec, NULL,
- gcry_control (GCRYCTL_FIPS_MODE_P, 0)
+ gcry_fips_mode_active ()
? "(genkey (RSA (nbits %d)))"
: "(genkey (RSA (nbits %d)(transient-key)))",
p_sizes[testno]);