core/hw/rsa: Make GetSignature() a const member function

This doesn't directly modify instance state, so it can be made const.
This commit is contained in:
Lioncash 2020-05-01 10:17:01 -04:00
parent c55e81b946
commit 3ab0701192
3 changed files with 3 additions and 3 deletions

View file

@ -223,7 +223,7 @@ void LoadNativeFirmKeysOld3DS() {
return;
}
auto rsa = RSA::GetSlot(0);
const auto rsa = RSA::GetSlot(0);
if (!rsa) {
LOG_ERROR(HW_AES, "RSA slot is missing");
return;