diff options
author | Zack Weinberg <zackw@panix.com> | 2018-07-13 11:45:06 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2018-07-13 11:56:28 -0400 |
commit | 8fb52d98e2750cd5302a375727b703b925896f33 (patch) | |
tree | 4b4c27da12f823a184b6e0f6483aed313d441bc8 /test-gensalt.c | |
parent | f08ac26609d5bceb867f76b78979b1c21ff04206 (diff) | |
download | libxcrypt-8fb52d98e2750cd5302a375727b703b925896f33.tar.gz libxcrypt-8fb52d98e2750cd5302a375727b703b925896f33.tar.bz2 libxcrypt-8fb52d98e2750cd5302a375727b703b925896f33.zip |
Fix several test failures on x86-64 with -m32.
- more fixes for crypt-sunmd5.c when 'unsigned long' and 'unsigned
int' are the same
- test-getrandom-fallbacks needs to interpose open64 as well as open
- test-short-outbuf.c can use %zu instead of %lu to avoid casting
- glibc for x86-64/-m32 uses the same symbol versions as glibc/i386
also, libcrypt.minver is now in alphabetical order by host_cpu pattern
within each block of architectures with the same minimum symbol version.
Diffstat (limited to 'test-gensalt.c')
-rw-r--r-- | test-gensalt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-gensalt.c b/test-gensalt.c index 6713387..bbdfedb 100644 --- a/test-gensalt.c +++ b/test-gensalt.c @@ -179,7 +179,7 @@ static const struct testcase testcases[] = // SHA1/PBKDF always emits a round count, but we need to test its // behavior on very large inputs. (This number is the largest // supported round count.) - { "$md5", sunmd5_expected_output_r, 32, 0, 4294963199 }, + { "$md5", sunmd5_expected_output_r, 32, 0, 4294963199ul }, #endif #if INCLUDE_sha1 { "$sha1", sha1_expected_output, 26, 34, 0 }, |