mirror of
https://github.com/curl/curl.git
synced 2026-05-07 00:47:29 +03:00
vtls: drop duplicate CURL_SHA256_DIGEST_LENGTH definition
Closes #19224
This commit is contained in:
parent
207a74206b
commit
833da09b53
3 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue