summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/bcat
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-11-12 14:37:58 +0100
committerLioncash <mathew1800@gmail.com>2019-11-12 14:45:56 +0100
commite0c46e6879be4720a89429a3151b84103456e4b6 (patch)
treed287cceff5445e19b5c68ed4141b0bef5d61ef83 /src/core/hle/service/bcat
parentMerge pull request #3085 from bunnei/web-token-b64 (diff)
downloadyuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar
yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.gz
yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.bz2
yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.lz
yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.xz
yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.tar.zst
yuzu-e0c46e6879be4720a89429a3151b84103456e4b6.zip
Diffstat (limited to 'src/core/hle/service/bcat')
-rw-r--r--src/core/hle/service/bcat/backend/boxcat.cpp2
-rw-r--r--src/core/hle/service/bcat/module.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp
index 918159e11..1411a646f 100644
--- a/src/core/hle/service/bcat/backend/boxcat.cpp
+++ b/src/core/hle/service/bcat/backend/boxcat.cpp
@@ -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;
}
diff --git a/src/core/hle/service/bcat/module.cpp b/src/core/hle/service/bcat/module.cpp
index 6d9d1527d..8a7304f86 100644
--- a/src/core/hle/service/bcat/module.cpp
+++ b/src/core/hle/service/bcat/module.cpp
@@ -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;
}