summaryrefslogtreecommitdiff
path: root/lib/vtls/bearssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vtls/bearssl.c')
-rw-r--r--lib/vtls/bearssl.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/vtls/bearssl.c b/lib/vtls/bearssl.c
index 8dd262ed0..29b08c0e6 100644
--- a/lib/vtls/bearssl.c
+++ b/lib/vtls/bearssl.c
@@ -827,19 +827,6 @@ static void bearssl_session_free(void *ptr)
free(ptr);
}
-static CURLcode bearssl_md5sum(unsigned char *input,
- size_t inputlen,
- unsigned char *md5sum,
- size_t md5len UNUSED_PARAM)
-{
- br_md5_context ctx;
-
- br_md5_init(&ctx);
- br_md5_update(&ctx, input, inputlen);
- br_md5_out(&ctx, md5sum);
- return CURLE_OK;
-}
-
static CURLcode bearssl_sha256sum(const unsigned char *input,
size_t inputlen,
unsigned char *sha256sum,
@@ -876,7 +863,6 @@ const struct Curl_ssl Curl_ssl_bearssl = {
Curl_none_set_engine_default,
Curl_none_engines_list,
Curl_none_false_start,
- bearssl_md5sum,
bearssl_sha256sum
};