FileSys::Ticket::Load: Return error if signature type does not match (#4339)

* FileSys::Ticket::Load: Return error if signature type does not match

* fixup! FileSys::Ticket::Load: Return error if signature type does not match
This commit is contained in:
Ben
2018-10-15 11:26:35 -04:00
committed by Weiyi Wang
parent 0df32275a7
commit b01b94d843
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ inline u32 GetSignatureSize(u32 signature_type) {
return 0x3C;
}
UNREACHABLE();
LOG_ERROR(Common_Filesystem, "Tried to read ticket with bad signature {}", signature_type);
return 0;
}