diff --git a/payload_installer/installer/source/main.c b/payload_installer/installer/source/main.c index aff8d65..428c93e 100644 --- a/payload_installer/installer/source/main.c +++ b/payload_installer/installer/source/main.c @@ -12,10 +12,10 @@ static char packEntryName[4][32] = static unsigned char fixedHashes[2][32] = { { - 0x46, 0x7C, 0x87, 0xD5, 0x5B, 0x0B, 0x87, 0x76, - 0xAC, 0xAE, 0x1F, 0x8B, 0xF1, 0x7A, 0xAF, 0x0E, - 0xDD, 0x57, 0xE3, 0xCD, 0xAB, 0x66, 0x0A, 0x6D, - 0x02, 0x36, 0xB5, 0x16, 0x05, 0x90, 0x28, 0x03 + 0x8D, 0xE9, 0xE5, 0xC1, 0x1D, 0x84, 0x69, 0xB7, + 0x11, 0x93, 0xD5, 0x93, 0x32, 0xE2, 0xD0, 0x74, + 0xE4, 0xF6, 0x92, 0xBE, 0x57, 0x72, 0x1D, 0xE6, + 0x6F, 0x93, 0x9E, 0x83, 0xB1, 0x17, 0x52, 0x05 }, { 0xD2, 0x53, 0xC1, 0xCC, 0x0A, 0x5F, 0xFA, 0xC6, @@ -77,7 +77,7 @@ int packAnalyze(void* buf, size_t size) { if(i < 2) { - if(1 || memcmp((void*)fixedHashes[i], (void*)header->entry[i].hash, 32) == 0) + if(memcmp((void*)fixedHashes[i], (void*)header->entry[i].hash, 32) == 0) { Debug(" [GOOD] %s", packEntryName[i]); }