summaryrefslogtreecommitdiff
path: root/lib/curl_sspi.c
diff options
context:
space:
mode:
authorCameron Cawley <ccawley2011@gmail.com>2020-07-31 20:36:56 +0100
committerMarcel Raad <Marcel.Raad@teamviewer.com>2020-08-02 17:58:44 +0200
commit790137b0f701fc9dc8e40d903b89be9f1ecadd00 (patch)
tree871ec08dc406d5edade332912442f704303632a0 /lib/curl_sspi.c
parent5c2728eb42bc49533bb3a7abd00071549fb377fb (diff)
downloadcurl-790137b0f701fc9dc8e40d903b89be9f1ecadd00.tar.gz
win32: Add Curl_verify_windows_version() to curlx
Closes https://github.com/curl/curl/pull/5754
Diffstat (limited to 'lib/curl_sspi.c')
-rw-r--r--lib/curl_sspi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/curl_sspi.c b/lib/curl_sspi.c
index 83ece9afd..512ce2411 100644
--- a/lib/curl_sspi.c
+++ b/lib/curl_sspi.c
@@ -28,6 +28,7 @@
#include "curl_sspi.h"
#include "curl_multibyte.h"
#include "system_win32.h"
+#include "version_win32.h"
#include "warnless.h"
/* The last #include files should be: */
@@ -82,7 +83,7 @@ CURLcode Curl_sspi_global_init(void)
* have both these DLLs (security.dll forwards calls to secur32.dll) */
/* Load SSPI dll into the address space of the calling process */
- if(Curl_verify_windows_version(4, 0, PLATFORM_WINNT, VERSION_EQUAL))
+ if(curlx_verify_windows_version(4, 0, PLATFORM_WINNT, VERSION_EQUAL))
s_hSecDll = Curl_load_library(TEXT("security.dll"));
else
s_hSecDll = Curl_load_library(TEXT("secur32.dll"));