diff --git a/Source/Core/Core/IOS/Network/SSL.cpp b/Source/Core/Core/IOS/Network/SSL.cpp index 2ded34ffc6..fd2fe63ce1 100644 --- a/Source/Core/Core/IOS/Network/SSL.cpp +++ b/Source/Core/Core/IOS/Network/SSL.cpp @@ -103,7 +103,7 @@ constexpr std::array s_root_ca_hash = {{0xc5, 0xb0, 0xf8, 0xdf, 0xce, 0x static std::vector ReadCertFile(const std::string& path, const std::array& correct_hash) { - File::IOFile file(path, "r"); + File::IOFile file(path, "rb"); std::vector bytes(file.GetSize()); if (!file.ReadBytes(bytes.data(), bytes.size())) {