diff options
| -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) | |||
| 876 | elseif (WIN32) | 876 | elseif (WIN32) |
| 877 | target_sources(core PRIVATE | 877 | target_sources(core PRIVATE |
| 878 | hle/service/ssl/ssl_backend_schannel.cpp) | 878 | hle/service/ssl/ssl_backend_schannel.cpp) |
| 879 | target_link_libraries(core PRIVATE secur32) | 879 | target_link_libraries(core PRIVATE crypt32 secur32) |
| 880 | else() | 880 | else() |
| 881 | target_sources(core PRIVATE | 881 | target_sources(core PRIVATE |
| 882 | hle/service/ssl/ssl_backend_none.cpp) | 882 | 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 { | |||
| 20 | #define SECURITY_WIN32 | 20 | #define SECURITY_WIN32 |
| 21 | #include <schnlsp.h> | 21 | #include <schnlsp.h> |
| 22 | #include <security.h> | 22 | #include <security.h> |
| 23 | #include <wincrypt.h> | ||
| 23 | 24 | ||
| 24 | std::once_flag one_time_init_flag; | 25 | std::once_flag one_time_init_flag; |
| 25 | bool one_time_init_success = false; | 26 | bool one_time_init_success = false; |