summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ldr
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-14 19:47:23 +0100
committerGitHub <noreply@github.com>2019-11-14 19:47:23 +0100
commit360b0d1b3028a845948d47651bf25492273ce125 (patch)
treead9518767d3c9a820b6a1dc329d2290249321090 /src/core/hle/service/ldr
parentMerge pull request #3092 from lioncash/util (diff)
parentcore: Migrate off deprecated mbedtls functions (diff)
downloadyuzu-360b0d1b3028a845948d47651bf25492273ce125.tar
yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.gz
yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.bz2
yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.lz
yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.xz
yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.zst
yuzu-360b0d1b3028a845948d47651bf25492273ce125.zip
Diffstat (limited to 'src/core/hle/service/ldr')
-rw-r--r--src/core/hle/service/ldr/ldr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index 499376bfc..88f903bfd 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -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) {