mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-29 13:07:53 -05:00
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:
@ -255,7 +255,7 @@ private:
|
||||
using Digest = std::array<u8, 0x20>;
|
||||
static Digest DigestFile(std::vector<u8> bytes) {
|
||||
Digest out{};
|
||||
mbedtls_sha256(bytes.data(), bytes.size(), out.data(), 0);
|
||||
mbedtls_sha256_ret(bytes.data(), bytes.size(), out.data(), 0);
|
||||
return out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user