]> granicus.if.org Git - curl/commit
vtls: move sha256sum 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)
commit0a083a66bcae51a485d45ba416eac1d1fbe4ca15
tree4c8eca6382c89812045f2475a35b5c26ec97df54
parente35205a0c4f8d80dc9e878049a0fb0eb18f61dbf
vtls: move sha256sum into the Curl_ssl struct

The SHA-256 checksumming is also an SSL backend-specific function.
Let's include it in the struct declaring the functionality of SSL
backends.

In contrast to MD5, there is no fall-back code. To indicate this, the
respective entries are NULL for those backends that offer no support for
SHA-256 checksumming.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
19 files changed:
lib/vtls/axtls.c
lib/vtls/cyassl.c
lib/vtls/cyassl.h
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/mbedtls.h
lib/vtls/nss.c
lib/vtls/nssg.h
lib/vtls/openssl.c
lib/vtls/openssl.h
lib/vtls/polarssl.c
lib/vtls/polarssl.h
lib/vtls/schannel.c
lib/vtls/vtls.c
lib/vtls/vtls.h