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/darwinssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/vtls/darwinssl.c') diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c index dda53a651..883930c9d 100644 --- a/lib/vtls/darwinssl.c +++ b/lib/vtls/darwinssl.c @@ -2705,8 +2705,8 @@ bool Curl_darwinssl_data_pending(const struct connectdata *conn, return false; } -CURLcode Curl_darwinssl_random(unsigned char *entropy, - size_t length) +CURLcode Curl_darwinssl_random(struct Curl_easy *data UNUSED_PARAM, + unsigned char *entropy, size_t length) { /* arc4random_buf() isn't available on cats older than Lion, so let's do this manually for the benefit of the older cats. */ -- cgit v1.2.3