summaryrefslogtreecommitdiff
path: root/cipher/primegen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/primegen.c')
-rw-r--r--cipher/primegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/primegen.c b/cipher/primegen.c
index 34361e3e..751f49ac 100644
--- a/cipher/primegen.c
+++ b/cipher/primegen.c
@@ -456,7 +456,7 @@ gen_prime (unsigned int nbits, int secret, int randomlevel,
break; /* stop loop, continue with a new prime */
}
- if (extra_check && extra_check (ptest, extra_check_arg))
+ if (extra_check && extra_check (extra_check_arg, ptest))
{ /* The extra check told us that this prime is
not of the caller's taste. */
progress ('/');