vtls: drop duplicate `CURL_SHA256_DIGEST_LENGTH` definition
No binary (build failed)
—
(log yok)
| @@ -58,6 +58,7 @@ | |
| #include "../rand.h" | |
| #include "../curlx/strparse.h" | |
| #include "../progress.h" | |
| + | #include "../curl_sha256.h" |
| /* The last #include file should be: */ | |
| #include "../curl_memory.h" | |
| @@ -29,6 +29,7 @@ | |
| #ifdef USE_SCHANNEL | |
| #include "vtls.h" | |
| + | #include "../curl_sha256.h" |
| #if defined(_MSC_VER) && (_MSC_VER <= 1600) | |
| /* Workaround for warning: | |
| @@ -99,10 +99,6 @@ CURLsslset Curl_init_sslset_nolock(curl_sslbackend id, const char *name, | |
| #define MAX_PINNED_PUBKEY_SIZE 1048576 /* 1MB */ | |
| #endif | |
| - | #ifndef CURL_SHA256_DIGEST_LENGTH |
| - | #define CURL_SHA256_DIGEST_LENGTH 32 /* fixed size */ |
| - | #endif |
| - | |
| curl_sslbackend Curl_ssl_backend(void); | |
| /** | |