summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ssl/ssl_backend.h
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2023-06-26 04:23:23 +0200
committercomex <comexk@gmail.com>2023-06-26 04:24:49 +0200
commitd885dd5b642807d0587acad43668cfccfdf06d1e (patch)
treeb3f4ac530883702313901f9d48453577ce060175 /src/core/hle/service/ssl/ssl_backend.h
parentnetwork.cpp: include expected.h (diff)
downloadyuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.gz
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.bz2
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.lz
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.xz
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.zst
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.zip
Diffstat (limited to 'src/core/hle/service/ssl/ssl_backend.h')
-rw-r--r--src/core/hle/service/ssl/ssl_backend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ssl/ssl_backend.h b/src/core/hle/service/ssl/ssl_backend.h
index 0dd8d9118..25c16bcc1 100644
--- a/src/core/hle/service/ssl/ssl_backend.h
+++ b/src/core/hle/service/ssl/ssl_backend.h
@@ -23,11 +23,11 @@ constexpr Result ResultInvalidSocket{ErrorModule::SSLSrv, 106};
constexpr Result ResultTimeout{ErrorModule::SSLSrv, 205};
constexpr Result ResultInternalError{ErrorModule::SSLSrv, 999}; // made up
-constexpr Result ResultWouldBlock{ErrorModule::SSLSrv, 204};
-// ^ ResultWouldBlock is returned from Read and Write, and oddly, DoHandshake,
+// ResultWouldBlock is returned from Read and Write, and oddly, DoHandshake,
// with no way in the latter case to distinguish whether the client should poll
// for read or write. The one official client I've seen handles this by always
// polling for read (with a timeout).
+constexpr Result ResultWouldBlock{ErrorModule::SSLSrv, 204};
class SSLConnectionBackend {
public: