vtls: drop duplicate CURL_SHA256_DIGEST_LENGTH definition

Closes #19224
This commit is contained in:
Viktor Szakats 2025-10-24 18:41:20 +02:00
parent 207a74206b
commit 833da09b53
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 2 additions and 4 deletions

View file

@ -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"

View file

@ -29,6 +29,7 @@
#ifdef USE_SCHANNEL
#include "vtls.h"
#include "../curl_sha256.h"
#if defined(_MSC_VER) && (_MSC_VER <= 1600)
/* Workaround for warning:

View file

@ -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);
/**