mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-06 01:21:18 -04:00
ncm: update client code to better reflect latest sysupdate
This commit is contained in:
parent
ca142889c4
commit
320a946fc7
28 changed files with 1432 additions and 110 deletions
|
@ -52,7 +52,7 @@ namespace ams::gc::impl {
|
|||
|
||||
Result GcCrypto::VerifyT1CardCertificate(const void *cert_buffer, size_t cert_size) {
|
||||
/* Check pre-conditions. */
|
||||
AMS_ASSERT(cert_size == sizeof(T1CardCertificate));
|
||||
R_UNLESS(cert_size == sizeof(T1CardCertificate), fs::ResultGameCardPreconditionViolation());
|
||||
|
||||
/* Get cert buffer as type. */
|
||||
const auto * const cert = static_cast<const T1CardCertificate *>(cert_buffer);
|
||||
|
@ -75,7 +75,7 @@ namespace ams::gc::impl {
|
|||
|
||||
Result GcCrypto::VerifyCa10Certificate(const void *cert_buffer, size_t cert_size) {
|
||||
/* Check pre-conditions. */
|
||||
AMS_ASSERT(cert_size == sizeof(Ca10Certificate));
|
||||
R_UNLESS(cert_size == sizeof(Ca10Certificate), fs::ResultGameCardPreconditionViolation());
|
||||
|
||||
/* Get header buffer as type. */
|
||||
const auto * const cert = static_cast<const Ca10Certificate *>(cert_buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue