From dd02a9a341659ed06839a474d685b99af3a082e2 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 22 Jun 2017 23:48:03 +0200 Subject: vtls: use consistent signature for _random() implementations This will make the upcoming multissl backend much easier to implement. Signed-off-by: Johannes Schindelin --- lib/vtls/schannel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/vtls/schannel.c') diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index 94603018b..988612cd2 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -1568,7 +1568,8 @@ size_t Curl_schannel_version(char *buffer, size_t size) return size; } -CURLcode Curl_schannel_random(unsigned char *entropy, size_t length) +CURLcode Curl_schannel_random(struct Curl_easy *data UNUSED_PARAM, + unsigned char *entropy, size_t length) { HCRYPTPROV hCryptProv = 0; -- cgit v1.2.3