1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-22 18:32:05 +00:00

Fix typo in decrypting all keyblobs (thanks @tslater2006 !)

This commit is contained in:
TuxSH 2018-05-16 16:45:44 +02:00
parent 1182ea23a5
commit c0617982b8

View file

@ -111,7 +111,7 @@ int derive_nx_keydata(uint32_t target_firmware, const nx_keyblob_t *keyblobs, ui
set_aes_keyslot(0xD, work_buffer, 0x10);
/* Decrypt all keyblobs. */
for (unsigned int rev = MASTERKEY_REVISION_100_230; rev < MASTERKEY_REVISION_500_CURRENT; rev++) {
for (unsigned int rev = 0; rev < MASTERKEY_REVISION_MAX; rev++) {
int ret = decrypt_keyblob(keyblobs, rev, available_revision);
if (ret) {
return ret;