diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2000-12-11 21:21:19 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2000-12-11 21:21:19 +0000 |
commit | 7c0703b2a547d65ce1921ec3adeb6cb277f5f35a (patch) | |
tree | ee72ca9953ddcde25be632639bb3242cac086577 /sbin/photurisd/modulus.c | |
parent | cd40f5ad40cd4912648f1cb155bf3167202ddc89 (diff) |
proper logging.
Diffstat (limited to 'sbin/photurisd/modulus.c')
-rw-r--r-- | sbin/photurisd/modulus.c | 4 |
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) { |