core: Migrate off deprecated mbedtls functions
These functions are marked for deprecation and it's recommended that the *_ret variants be used instead.
This commit is contained in:
parent
8714d40a77
commit
e0c46e6879
7 changed files with 12 additions and 12 deletions
|
@ -294,7 +294,7 @@ public:
|
|||
Memory::ReadBlock(nro_address, nro_data.data(), nro_size);
|
||||
|
||||
SHA256Hash hash{};
|
||||
mbedtls_sha256(nro_data.data(), nro_data.size(), hash.data(), 0);
|
||||
mbedtls_sha256_ret(nro_data.data(), nro_data.size(), hash.data(), 0);
|
||||
|
||||
// NRO Hash is already loaded
|
||||
if (std::any_of(nro.begin(), nro.end(), [&hash](const std::pair<VAddr, NROInfo>& info) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue