mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 19:07:58 -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:
@ -46,7 +46,7 @@ u64 GetCurrentBuildID(const Core::System::CurrentBuildProcessID& id) {
|
||||
BCATDigest DigestFile(const FileSys::VirtualFile& file) {
|
||||
BCATDigest out{};
|
||||
const auto bytes = file->ReadAllBytes();
|
||||
mbedtls_md5(bytes.data(), bytes.size(), out.data());
|
||||
mbedtls_md5_ret(bytes.data(), bytes.size(), out.data());
|
||||
return out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user