mirror of
https://github.com/curl/curl.git
synced 2026-08-02 01:10:30 +03:00
windows: drop two interim, single-use macros
Follow-up to e77d867068
Closes #18114
This commit is contained in:
parent
d21e75a6ae
commit
b5c245045e
3 changed files with 13 additions and 18 deletions
|
|
@ -73,14 +73,6 @@
|
|||
#define SCH_DEV(x) do { } while(0)
|
||||
#endif
|
||||
|
||||
#ifdef HAS_CLIENT_CERT_PATH
|
||||
#ifdef UNICODE
|
||||
#define CURL_CERT_STORE_PROV_SYSTEM CERT_STORE_PROV_SYSTEM_W
|
||||
#else
|
||||
#define CURL_CERT_STORE_PROV_SYSTEM CERT_STORE_PROV_SYSTEM_A
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Offered by mingw-w64 v8+. MS SDK 7.0A+. */
|
||||
#ifndef SP_PROT_TLS1_0_CLIENT
|
||||
#define SP_PROT_TLS1_0_CLIENT SP_PROT_TLS1_CLIENT
|
||||
|
|
@ -692,7 +684,13 @@ schannel_acquire_credential_handle(struct Curl_cfilter *cf,
|
|||
}
|
||||
else {
|
||||
cert_store =
|
||||
CertOpenStore(CURL_CERT_STORE_PROV_SYSTEM, 0,
|
||||
CertOpenStore(
|
||||
#ifdef UNICODE
|
||||
CERT_STORE_PROV_SYSTEM_W,
|
||||
#else
|
||||
CERT_STORE_PROV_SYSTEM_A,
|
||||
#endif
|
||||
0,
|
||||
(HCRYPTPROV)NULL,
|
||||
CERT_STORE_OPEN_EXISTING_FLAG | cert_store_name,
|
||||
cert_store_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue