diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2017-09-06 15:11:55 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-09-06 15:11:55 -0400 |
commit | 70a69f371892ab2e50c9003dd9c129bcc9b8f618 (patch) | |
tree | 4a95bcfa31594ee3fdf85c17b1be49bd9bdeac01 /lib/vtls/schannel.c | |
parent | c96d96bc5fd334f90fce04bfe89a9ecbbe8e6094 (diff) | |
download | curl-70a69f371892ab2e50c9003dd9c129bcc9b8f618.tar.gz |
SSL: fix unused parameter warnings
Diffstat (limited to 'lib/vtls/schannel.c')
-rw-r--r-- | lib/vtls/schannel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index 64d180dc4..83d443fd1 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -1655,6 +1655,8 @@ static CURLcode Curl_schannel_random(struct Curl_easy *data UNUSED_PARAM, { HCRYPTPROV hCryptProv = 0; + (void)data; + if(!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) return CURLE_FAILED_INIT; |