Make Tests pass
This commit is contained in:
parent
73234d0764
commit
e79158e3f1
@ -32,7 +32,7 @@ int main(int argc, char *argv[]) {
|
|||||||
bool is_idat = memcmp(chunks[i]->type, "IDAT", 4) == 0;
|
bool is_idat = memcmp(chunks[i]->type, "IDAT", 4) == 0;
|
||||||
bool is_iend = memcmp(chunks[i]->type, "IEND", 4) == 0;
|
bool is_iend = memcmp(chunks[i]->type, "IEND", 4) == 0;
|
||||||
if (is_idat || is_iend) {
|
if (is_idat || is_iend) {
|
||||||
printf("Found %.4s chunk\n", chunks[i]->type);
|
printf("Found %.4s\n", chunks[i]->type);
|
||||||
if (is_idat) {
|
if (is_idat) {
|
||||||
xor_data(chunks[i]);
|
xor_data(chunks[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user