summaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2018-02-09 20:10:22 +0100
committerMichael Kaufmann <mail@michael-kaufmann.ch>2018-02-09 20:10:25 +0100
commit1c680e35abd384f89ccd32ce91ade7101887e333 (patch)
treea78e1af1d66d7a5b8a180105265538a7deafb105 /lib/vtls
parentf886cbfe9c3055999d8174b2eedc826d0d9a54f1 (diff)
downloadcurl-1c680e35abd384f89ccd32ce91ade7101887e333.tar.gz
schannel: fix "no previous prototype" compiler warning
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/schannel.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c
index 76f9b22cf..b8afe46f1 100644
--- a/lib/vtls/schannel.c
+++ b/lib/vtls/schannel.c
@@ -1939,20 +1939,20 @@ static void Curl_schannel_checksum(const unsigned char *input,
CryptReleaseContext(hProv, 0);
}
-CURLcode Curl_schannel_md5sum(unsigned char *input,
- size_t inputlen,
- unsigned char *md5sum,
- size_t md5len)
+static CURLcode Curl_schannel_md5sum(unsigned char *input,
+ size_t inputlen,
+ unsigned char *md5sum,
+ size_t md5len)
{
Curl_schannel_checksum(input, inputlen, md5sum, md5len,
PROV_RSA_FULL, CALG_MD5);
return CURLE_OK;
}
-void Curl_schannel_sha256sum(const unsigned char *input,
- size_t inputlen,
- unsigned char *sha256sum,
- size_t sha256len)
+static void Curl_schannel_sha256sum(const unsigned char *input,
+ size_t inputlen,
+ unsigned char *sha256sum,
+ size_t sha256len)
{
Curl_schannel_checksum(input, inputlen, sha256sum, sha256len,
PROV_RSA_AES, CALG_SHA_256);