mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 13:11:49 +00:00
Do not blank Rsa2048DeviceCertificate or Rsa2048Device as it prevents HOS from booting on newer PRODINFO versions.
This commit is contained in:
parent
1c9d6b4d90
commit
f051f707ed
1 changed files with 0 additions and 2 deletions
|
@ -222,8 +222,6 @@ namespace ams::mitm {
|
||||||
Blank(info.GetBlock<EcqvEcdsaAmiiboRootCertificateBlock>());
|
Blank(info.GetBlock<EcqvEcdsaAmiiboRootCertificateBlock>());
|
||||||
Blank(info.GetBlock<EcqvBlsAmiiboRootCertificateBlock>());
|
Blank(info.GetBlock<EcqvBlsAmiiboRootCertificateBlock>());
|
||||||
Blank(info.GetBlock<ExtendedSslKeyBlock>());
|
Blank(info.GetBlock<ExtendedSslKeyBlock>());
|
||||||
if (IsValid(info.GetBlock<Rsa2048DeviceKeyBlock>()) && !IsBlank(info.GetBlock<Rsa2048DeviceKeyBlock>())) Blank(info.GetBlock<Rsa2048DeviceKeyBlock>());
|
|
||||||
if (IsValid(info.GetBlock<Rsa2048DeviceCertificateBlock>()) && !IsBlank(info.GetBlock<Rsa2048DeviceCertificateBlock>())) Blank(info.GetBlock<Rsa2048DeviceCertificateBlock>());
|
|
||||||
|
|
||||||
/* Set header hash. */
|
/* Set header hash. */
|
||||||
crypto::GenerateSha256Hash(std::addressof(info.header.body_hash), sizeof(info.header.body_hash), std::addressof(info.body), sizeof(info.body));
|
crypto::GenerateSha256Hash(std::addressof(info.header.body_hash), sizeof(info.header.body_hash), std::addressof(info.body), sizeof(info.body));
|
||||||
|
|
Loading…
Reference in a new issue