aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/vtls.h
diff options
context:
space:
mode:
authorWyatt O'Day <wyatt@wyday.com>2018-04-02 13:33:00 -0400
committerDaniel Stenberg <daniel@haxx.se>2018-04-06 14:21:50 +0200
commit336b6a32c0c9bec6bf6ccfc5942a3ce62ff34281 (patch)
treedc5474d3b6baa88a077f95a7fd8ab1213356860b /lib/vtls/vtls.h
parent746479adcbd2bba06077642fefe0414ad6e1e0ea (diff)
tls: fix mbedTLS 2.7.0 build + handle sha256 failures
(mbedtls 2.70 compiled with MBEDTLS_DEPRECATED_REMOVED) Closes #2453
Diffstat (limited to 'lib/vtls/vtls.h')
-rw-r--r--lib/vtls/vtls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h
index c5f9d4a3f..4f76cc9e1 100644
--- a/lib/vtls/vtls.h
+++ b/lib/vtls/vtls.h
@@ -72,7 +72,7 @@ struct Curl_ssl {
CURLcode (*md5sum)(unsigned char *input, size_t inputlen,
unsigned char *md5sum, size_t md5sumlen);
- void (*sha256sum)(const unsigned char *input, size_t inputlen,
+ CURLcode (*sha256sum)(const unsigned char *input, size_t inputlen,
unsigned char *sha256sum, size_t sha256sumlen);
};