mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
parent
f71d3e01ec
commit
3f25c01fce
@ -2888,8 +2888,7 @@ static CURLcode ossl_connect_step1(struct Curl_easy *data,
|
||||
if((SSL_CONN_CONFIG(verifypeer) || SSL_CONN_CONFIG(verifyhost)) &&
|
||||
(SSL_SET_OPTION(native_ca_store))) {
|
||||
X509_STORE *store = SSL_CTX_get_cert_store(backend->ctx);
|
||||
HCERTSTORE hStore = CertOpenSystemStore((HCRYPTPROV_LEGACY)NULL,
|
||||
TEXT("ROOT"));
|
||||
HCERTSTORE hStore = CertOpenSystemStore(0, TEXT("ROOT"));
|
||||
|
||||
if(hStore) {
|
||||
PCCERT_CONTEXT pContext = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user