mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 05:55:27 +01:00
Dump md_iterations as signed, which it really is.
PR: 208305 PR: 196834 MFC after: 2 weeks
This commit is contained in:
parent
d8880fd450
commit
d109d8adc7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317247
@ -510,7 +510,7 @@ eli_metadata_dump(const struct g_eli_metadata *md)
|
||||
printf(" provsize: %ju\n", (uintmax_t)md->md_provsize);
|
||||
printf("sectorsize: %u\n", (u_int)md->md_sectorsize);
|
||||
printf(" keys: 0x%02x\n", (u_int)md->md_keys);
|
||||
printf("iterations: %u\n", (u_int)md->md_iterations);
|
||||
printf("iterations: %d\n", (int)md->md_iterations);
|
||||
bzero(str, sizeof(str));
|
||||
for (i = 0; i < sizeof(md->md_salt); i++) {
|
||||
str[i * 2] = hex[md->md_salt[i] >> 4];
|
||||
|
Loading…
Reference in New Issue
Block a user