]> granicus.if.org Git - curl/commit
vtls: move md5sum into the Curl_ssl struct
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 22 Jun 2017 23:04:56 +0000 (01:04 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Aug 2017 12:56:56 +0000 (14:56 +0200)
commite35205a0c4f8d80dc9e878049a0fb0eb18f61dbf
tree1bca113b655e95ab19bd2f04d408d1e1ca7b2026
parent52e8237bfc66a2a8324dbb558c1f0704aa0f8c0e
vtls: move md5sum into the Curl_ssl struct

The MD5 summing is also an SSL backend-specific function. So let's
include it, offering the previous fall-back code as a separate function
now: Curl_none_md5sum(). To allow for that, the signature had to be
changed so that an error could be returned from the implementation
(Curl_none_md5sum() can run out of memory).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 files changed:
lib/vtls/axtls.c
lib/vtls/cyassl.c
lib/vtls/darwinssl.c
lib/vtls/darwinssl.h
lib/vtls/gskit.c
lib/vtls/gtls.c
lib/vtls/gtls.h
lib/vtls/mbedtls.c
lib/vtls/nss.c
lib/vtls/nssg.h
lib/vtls/openssl.c
lib/vtls/openssl.h
lib/vtls/polarssl.c
lib/vtls/schannel.c
lib/vtls/vtls.c
lib/vtls/vtls.h