diff --git a/Filelist.txt b/Filelist.txt index 42a56451..af30fe81 100644 --- a/Filelist.txt +++ b/Filelist.txt @@ -388,6 +388,7 @@ TestData/aria.dat TestData/camellia.dat TestData/cast128v.dat TestData/cast256v.dat +TestData/defdmac.bin TestData/descert.dat TestData/dh1024.dat TestData/dh2048.dat diff --git a/TestData/defdmac.bin b/TestData/defdmac.bin new file mode 100644 index 00000000..6efc49c7 Binary files /dev/null and b/TestData/defdmac.bin differ diff --git a/validat0.cpp b/validat0.cpp index cb34b7ec..a032c13b 100644 --- a/validat0.cpp +++ b/validat0.cpp @@ -153,13 +153,14 @@ bool TestCompressors() { std::cout << "\nTesting Compressors and Decompressors...\n\n"; bool fail1 = false, fail2 = false, fail3 = false; + const unsigned int COMP_COUNT = 64; try { // Gzip uses Adler32 checksums. We expect a failure to to happen on occasion. // If we see more than 2 failures in a run of 128, then we need to investigate. unsigned int truncatedCount=0; - for (unsigned int i = 0; i<128; ++i) + for (unsigned int i = 0; i