IOS: Correct ES return code names about signatures

-1027 is used when ES cannot find the issuer of a certificate.

-1012 is used when the signature type is invalid.
This commit is contained in:
Léo Lam 2017-06-10 18:32:15 +02:00
parent 13b1fa2c65
commit 34c9bf391e
1 changed files with 27 additions and 26 deletions

View File

@ -44,13 +44,14 @@ enum ReturnCode : s32
FS_EBUSY = -118, // Resource busy
ES_SHORT_READ = -1009, // Short read
ES_EIO = -1010, // Write failure
ES_INVALID_SIGNATURE_TYPE = -1012,
ES_FD_EXHAUSTED = -1016, // Max of 3 ES handles exceeded
ES_EINVAL = -1017, // Invalid argument
ES_DEVICE_ID_MISMATCH = -1018,
ES_HASH_MISMATCH = -1022, // Decrypted content hash doesn't match with the hash from the TMD
ES_ENOMEM = -1024, // Alloc failed during request
ES_EACCES = -1026, // Incorrect access rights (according to TMD)
ES_INVALID_TMD_SIGNATURE_TYPE = -1027,
ES_UNKNOWN_ISSUER = -1027,
ES_NO_TICKET = -1028,
ES_INVALID_TICKET = -1029,
IOSC_EACCES = -2000,