mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-30 05:54:23 +01:00
Merge pull request #1602 from DarkLordZach/key-derivation-isxdigit
key_manager: Use isxdigit instead of isdigit when reading key file
This commit is contained in:
commit
a9d60c6103
@ -395,7 +395,7 @@ static bool ValidCryptoRevisionString(std::string_view base, size_t begin, size_
|
|||||||
if (base.size() < begin + length)
|
if (base.size() < begin + length)
|
||||||
return false;
|
return false;
|
||||||
return std::all_of(base.begin() + begin, base.begin() + begin + length,
|
return std::all_of(base.begin() + begin, base.begin() + begin + length,
|
||||||
[](u8 c) { return std::isdigit(c); });
|
[](u8 c) { return std::isxdigit(c); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void KeyManager::LoadFromFile(const std::string& filename, bool is_title_keys) {
|
void KeyManager::LoadFromFile(const std::string& filename, bool is_title_keys) {
|
||||||
|
Loading…
Reference in New Issue
Block a user