diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-07-17 21:44:15 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-07-17 21:46:24 +0200 |
commit | 16c238e4b92fc20a8a49e2a6713366fd3cfafad8 (patch) | |
tree | 633beb9295b25dfca6b7b53f07842eb366d32cb6 | |
parent | ssl: Reorder inclusions (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/core/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/core/hle/service/ssl/ssl_backend_schannel.cpp | 1 |
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; |