mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 12:59:58 +00:00
ssl: Link with crypt32 for secure channel backend
This commit is contained in:
parent
e0fb1d3d17
commit
16c238e4b9
2 changed files with 2 additions and 1 deletions
|
@ -876,7 +876,7 @@ elseif (APPLE)
|
|||
elseif (WIN32)
|
||||
target_sources(core PRIVATE
|
||||
hle/service/ssl/ssl_backend_schannel.cpp)
|
||||
target_link_libraries(core PRIVATE secur32)
|
||||
target_link_libraries(core PRIVATE crypt32 secur32)
|
||||
else()
|
||||
target_sources(core PRIVATE
|
||||
hle/service/ssl/ssl_backend_none.cpp)
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace {
|
|||
#define SECURITY_WIN32
|
||||
#include <schnlsp.h>
|
||||
#include <security.h>
|
||||
#include <wincrypt.h>
|
||||
|
||||
std::once_flag one_time_init_flag;
|
||||
bool one_time_init_success = false;
|
||||
|
|
Loading…
Reference in a new issue