diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-03 06:08:45 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-03 06:08:45 +0100 |
commit | 2d2522693e7d453bf10a8246f704350b69e12ebc (patch) | |
tree | 195584b8f97867628b4d5bc37ecfff5c20655cf9 /src/core/hle/service/ssl | |
parent | Merge pull request #9713 from unfamiliarplace/master (diff) | |
download | yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.gz yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.bz2 yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.lz yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.xz yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.zst yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.zip |
Diffstat (limited to 'src/core/hle/service/ssl')
-rw-r--r-- | src/core/hle/service/ssl/ssl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cpp index 3735e0452..dcf47083f 100644 --- a/src/core/hle/service/ssl/ssl.cpp +++ b/src/core/hle/service/ssl/ssl.cpp @@ -101,7 +101,7 @@ private: void ImportServerPki(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; const auto certificate_format = rp.PopEnum<CertificateFormat>(); - const auto pkcs_12_certificates = ctx.ReadBuffer(0); + [[maybe_unused]] const auto pkcs_12_certificates = ctx.ReadBuffer(0); constexpr u64 server_id = 0; @@ -113,13 +113,13 @@ private: } void ImportClientPki(Kernel::HLERequestContext& ctx) { - const auto pkcs_12_certificate = ctx.ReadBuffer(0); - const auto ascii_password = [&ctx] { + [[maybe_unused]] const auto pkcs_12_certificate = ctx.ReadBuffer(0); + [[maybe_unused]] const auto ascii_password = [&ctx] { if (ctx.CanReadBuffer(1)) { return ctx.ReadBuffer(1); } - return std::vector<u8>{}; + return std::span<const u8>{}; }(); constexpr u64 client_id = 0; |