mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 18:14:56 +01:00
Update factor for changes to types in primes, which is a dependency.
Fixes build-fail on mips32 introduced at 272207.
This commit is contained in:
parent
1af789ed11
commit
4007b77e37
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272210
@ -69,6 +69,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <ctype.h>
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -227,7 +228,7 @@ pr_fact(BIGNUM *val)
|
||||
|
||||
/* Divide factor out until none are left. */
|
||||
do {
|
||||
printf(hflag ? " 0x%lx" : " %lu", *fact);
|
||||
printf(hflag ? " 0x%" PRIx64 "" : " %" PRIu64 "", *fact);
|
||||
BN_div_word(val, (BN_ULONG)*fact);
|
||||
} while (BN_mod_word(val, (BN_ULONG)*fact) == 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user