summaryrefslogtreecommitdiff
path: root/moduli.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-04-03 08:20:28 +0100
committerColin Watson <cjwatson@debian.org>2018-04-03 08:20:28 +0100
commited6ae9c1a014a08ff5db3d768f01f2e427eeb476 (patch)
tree601025e307745d351946c01ab13f419ddb6dae29 /moduli.c
parent62f54f20bf351468e0124f63cc2902ee40d9b0e9 (diff)
parenta0349a1cc4a18967ad1dbff5389bcdf9da098814 (diff)
Import openssh_7.7p1.orig.tar.gz
Diffstat (limited to 'moduli.c')
-rw-r--r--moduli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/moduli.c b/moduli.c
index e983b07b7..233cba8e8 100644
--- a/moduli.c
+++ b/moduli.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: moduli.c,v 1.31 2016/09/12 01:22:38 deraadt Exp $ */ 1/* $OpenBSD: moduli.c,v 1.32 2017/12/08 03:45:52 deraadt Exp $ */
2/* 2/*
3 * Copyright 1994 Phil Karn <karn@qualcomm.com> 3 * Copyright 1994 Phil Karn <karn@qualcomm.com>
4 * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com> 4 * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com>
@@ -412,8 +412,8 @@ gen_candidates(FILE *out, u_int32_t memory, u_int32_t power, BIGNUM *start)
412 412
413 time(&time_stop); 413 time(&time_stop);
414 414
415 logit("%.24s Sieved with %u small primes in %ld seconds", 415 logit("%.24s Sieved with %u small primes in %lld seconds",
416 ctime(&time_stop), largetries, (long) (time_stop - time_start)); 416 ctime(&time_stop), largetries, (long long)(time_stop - time_start));
417 417
418 for (j = r = 0; j < largebits; j++) { 418 for (j = r = 0; j < largebits; j++) {
419 if (BIT_TEST(LargeSieve, j)) 419 if (BIT_TEST(LargeSieve, j))