summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-07-17 21:44:15 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-07-17 21:46:24 +0200
commit16c238e4b92fc20a8a49e2a6713366fd3cfafad8 (patch)
tree633beb9295b25dfca6b7b53f07842eb366d32cb6 /src/core
parentssl: Reorder inclusions (diff)
downloadyuzu-16c238e4b92fc20a8a49e2a6713366fd3cfafad8.tar
yuzu-16c238e4b92fc20a8a49e2a6713366fd3cfafad8.tar.gz
yuzu-16c238e4b92fc20a8a49e2a6713366fd3cfafad8.tar.bz2
yuzu-16c238e4b92fc20a8a49e2a6713366fd3cfafad8.tar.lz
yuzu-16c238e4b92fc20a8a49e2a6713366fd3cfafad8.tar.xz
yuzu-16c238e4b92fc20a8a49e2a6713366fd3cfafad8.tar.zst
yuzu-16c238e4b92fc20a8a49e2a6713366fd3cfafad8.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/core/hle/service/ssl/ssl_backend_schannel.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index c3b688c5d..4b7395be8 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -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)
diff --git a/src/core/hle/service/ssl/ssl_backend_schannel.cpp b/src/core/hle/service/ssl/ssl_backend_schannel.cpp
index 368735d8c..d8074339a 100644
--- a/src/core/hle/service/ssl/ssl_backend_schannel.cpp
+++ b/src/core/hle/service/ssl/ssl_backend_schannel.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;