summaryrefslogtreecommitdiff
path: root/lib/vtls/schannel.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2017-09-06 15:11:55 -0400
committerJay Satiro <raysatiro@yahoo.com>2017-09-06 15:11:55 -0400
commit70a69f371892ab2e50c9003dd9c129bcc9b8f618 (patch)
tree4a95bcfa31594ee3fdf85c17b1be49bd9bdeac01 /lib/vtls/schannel.c
parentc96d96bc5fd334f90fce04bfe89a9ecbbe8e6094 (diff)
downloadcurl-70a69f371892ab2e50c9003dd9c129bcc9b8f618.tar.gz
SSL: fix unused parameter warnings
Diffstat (limited to 'lib/vtls/schannel.c')
-rw-r--r--lib/vtls/schannel.c2
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;