diff options
| author | 2023-06-25 14:57:34 -0700 | |
|---|---|---|
| committer | 2023-06-25 15:06:52 -0700 | |
| commit | 4a355699219710d0a9ad620722393b3d9a16d84d (patch) | |
| tree | 69b5d25adffe30e968bdcd47c367e0c1040c4427 /src/core/hle/service/ssl | |
| parent | ssl: rename argument to avoid false positive codespell warning (diff) | |
| download | yuzu-4a355699219710d0a9ad620722393b3d9a16d84d.tar.gz yuzu-4a355699219710d0a9ad620722393b3d9a16d84d.tar.xz yuzu-4a355699219710d0a9ad620722393b3d9a16d84d.zip | |
Fixes:
- Add missing virtual destructor on `SSLBackend`.
- On Windows, filter out `POLLWRBAND` (one of the new flags added) when
calling `WSAPoll`, because despite the constant being defined on
Windows, passing it calls `WSAPoll` to yield `EINVAL`.
- Reduce OpenSSL version requirement to satisfy CI; I haven't tested
whether it actually builds (or runs) against 1.1.1, but if not, I'll
figure it out.
- Change an instance of memcpy to memmove, even though the arguments
cannot overlap, to avoid a [strange GCC
error](https://github.com/yuzu-emu/yuzu/pull/10912#issuecomment-1606283351).
Diffstat (limited to 'src/core/hle/service/ssl')
| -rw-r--r-- | src/core/hle/service/ssl/ssl_backend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/ssl/ssl_backend.h b/src/core/hle/service/ssl/ssl_backend.h index 624e07d41..0dd8d9118 100644 --- a/src/core/hle/service/ssl/ssl_backend.h +++ b/src/core/hle/service/ssl/ssl_backend.h | |||
| @@ -31,6 +31,7 @@ constexpr Result ResultWouldBlock{ErrorModule::SSLSrv, 204}; | |||
| 31 | 31 | ||
| 32 | class SSLConnectionBackend { | 32 | class SSLConnectionBackend { |
| 33 | public: | 33 | public: |
| 34 | virtual ~SSLConnectionBackend() {} | ||
| 34 | virtual void SetSocket(std::shared_ptr<Network::SocketBase> socket) = 0; | 35 | virtual void SetSocket(std::shared_ptr<Network::SocketBase> socket) = 0; |
| 35 | virtual Result SetHostName(const std::string& hostname) = 0; | 36 | virtual Result SetHostName(const std::string& hostname) = 0; |
| 36 | virtual Result DoHandshake() = 0; | 37 | virtual Result DoHandshake() = 0; |