diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-23 01:04:56 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-28 14:56:56 +0200 |
commit | 0a083a66bcae51a485d45ba416eac1d1fbe4ca15 (patch) | |
tree | 4c8eca6382c89812045f2475a35b5c26ec97df54 /lib/vtls/polarssl.h | |
parent | e35205a0c4f8d80dc9e878049a0fb0eb18f61dbf (diff) | |
download | curl-0a083a66bcae51a485d45ba416eac1d1fbe4ca15.tar.gz |
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>
Diffstat (limited to 'lib/vtls/polarssl.h')
-rw-r--r-- | lib/vtls/polarssl.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/vtls/polarssl.h b/lib/vtls/polarssl.h index fc0a7ccd9..7109fe5ba 100644 --- a/lib/vtls/polarssl.h +++ b/lib/vtls/polarssl.h @@ -26,8 +26,6 @@ #ifdef USE_POLARSSL -#include <polarssl/sha256.h> - /* Called on first use PolarSSL, setup threading if supported */ int Curl_polarssl_init(void); void Curl_polarssl_cleanup(void); @@ -58,7 +56,5 @@ extern const struct Curl_ssl Curl_ssl_polarssl; /* this backends supports CURLOPT_PINNEDPUBLICKEY */ #define have_curlssl_pinnedpubkey 1 -#define curlssl_sha256sum(a,b,c,d) sha256(a,b,c,0) - #endif /* USE_POLARSSL */ #endif /* HEADER_CURL_POLARSSL_H */ |