From 97ae8d2d44ad2dbf4dee29f1e56188096418e75a Mon Sep 17 00:00:00 2001 From: Aurora Date: Sun, 4 Sep 2016 00:55:20 +0200 Subject: [PATCH] Forgot this --- source/pin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/pin.c b/source/pin.c index b8e2bd1..7057292 100644 --- a/source/pin.c +++ b/source/pin.c @@ -122,7 +122,7 @@ bool verifyPin(void) computePinHash(tmp, zeroes); //Test vector verification (SD card has, or hasn't been used on another console) - if(memcmp(pin.testHash, tmp, 32) != 0) return false; + if(memcmp(pin.testHash, tmp, sizeof(tmp)) != 0) return false; //Pad to AES block length with zeroes u8 __attribute__((aligned(4))) enteredPassword[0x10] = {0};