mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 18:26:39 +00:00
FIx small overlook.
This commit is contained in:
parent
c8c062e7fa
commit
e7f2c927c2
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ bool ncaEncryptHeader(NcaContext *ctx)
|
|||
Aes128XtsContext hdr_aes_ctx = {0}, nca0_fs_header_ctx = {0};
|
||||
|
||||
/* Encrypt NCA key area. */
|
||||
if (!ncaEncryptKeyArea(ctx))
|
||||
if (!ctx->rights_id_available && !ncaEncryptKeyArea(ctx))
|
||||
{
|
||||
LOGFILE("Error encrypting NCA \"%s\" key area!", ctx->content_id_str);
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue