diff options
| author | Léo Lam <leo@leolam.fr> | 2021-02-11 21:38:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-11 21:38:41 +0100 |
| commit | 3ce72d4005c38d1e36b0f62be94b7ca85b868ba6 (patch) | |
| tree | 01280b7086855ab5bb21ab7866ff2029b82b83fb /Source/Core/DolphinQt/Debugger/NetworkWidget.cpp | |
| parent | a3548142402be095d43c62aa3ea4e8e5da964183 (diff) | |
| parent | 2a15bc6ab25cfd2d2e64bbf58357c53adc5c76e7 (diff) | |
Merge pull request #9408 from sepalani/sni
SSL: Workaround to remove SNI from ClientHello
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/NetworkWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/NetworkWidget.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp b/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp index f93b529d54..68cf9c5dbf 100644 --- a/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp @@ -241,11 +241,9 @@ void NetworkWidget::Update() { m_ssl_table->insertRow(ssl_id); s32 host_fd = -1; - if (IOS::HLE::Device::IsSSLIDValid(ssl_id) && - IOS::HLE::Device::NetSSL::_SSL[ssl_id].ctx.p_bio != nullptr) + if (IOS::HLE::Device::IsSSLIDValid(ssl_id)) { - host_fd = - static_cast<mbedtls_net_context*>(IOS::HLE::Device::NetSSL::_SSL[ssl_id].ctx.p_bio)->fd; + host_fd = IOS::HLE::Device::NetSSL::_SSL[ssl_id].hostfd; } m_ssl_table->setItem(ssl_id, 0, new QTableWidgetItem(QString::number(ssl_id))); m_ssl_table->setItem(ssl_id, 1, GetSocketDomain(host_fd)); |
