aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/darwinssl.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-06-25 13:06:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-28 14:56:55 +0200
commitc9d526cdbf1d24b9c77b4d0d4f8297e69c76d5f6 (patch)
tree08347df4b01331a70e6c558d0a9f76d0b46e7ec8 /lib/vtls/darwinssl.c
parent2568cfed2da753c25adb0b803672ee40e7eb6c65 (diff)
vtls: make sure every _sha256sum()'s first arg is const
This patch makes the signature of the _sha256sum() functions consistent among the SSL backends, in preparation for unifying the way all SSL backends are accessed. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/vtls/darwinssl.c')
-rw-r--r--lib/vtls/darwinssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c
index 883930c9d..25e4bc83f 100644
--- a/lib/vtls/darwinssl.c
+++ b/lib/vtls/darwinssl.c
@@ -2732,7 +2732,7 @@ void Curl_darwinssl_md5sum(unsigned char *tmp, /* input */
(void)CC_MD5(tmp, (CC_LONG)tmplen, md5sum);
}
-void Curl_darwinssl_sha256sum(unsigned char *tmp, /* input */
+void Curl_darwinssl_sha256sum(const unsigned char *tmp, /* input */
size_t tmplen,
unsigned char *sha256sum, /* output */
size_t sha256len)