summaryrefslogtreecommitdiff
path: root/sbin/photurisd/modulus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/photurisd/modulus.c')
-rw-r--r--sbin/photurisd/modulus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/photurisd/modulus.c b/sbin/photurisd/modulus.c
index 0ab232c7983..3ecd2be45e2 100644
--- a/sbin/photurisd/modulus.c
+++ b/sbin/photurisd/modulus.c
@@ -43,7 +43,7 @@
#include <ssl/bn.h>
#include "config.h"
#include "modulus.h"
-#include "errlog.h"
+#include "log.h"
static struct moduli_cache *modob = NULL;
@@ -119,7 +119,7 @@ mod_check_prime(int iter, int tm)
#endif
flag = BN_is_prime(p->modulus, iter, NULL, ctx, NULL);
if (!flag)
- log_error(0, "found a non prime in mod_check_prime()");
+ log_print("found a non prime in mod_check_prime()");
tmp = mod_find_modulus(p->modulus);
while (tmp != NULL) {