← Commit list

833da09b53

Viktor Szakats
Viktor Szakats
2025-10-24
SUCCESS Duration: 154s

Subject

vtls: drop duplicate `CURL_SHA256_DIGEST_LENGTH` definition

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vtls/schannel.c+1 -0
@@ -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"
lib/vtls/schannel_int.h+1 -0
@@ -29,6 +29,7 @@
#ifdef USE_SCHANNEL
#include "vtls.h"
+#include "../curl_sha256.h"
#if defined(_MSC_VER) && (_MSC_VER <= 1600)
/* Workaround for warning:
lib/vtls/vtls.h+0 -4
@@ -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);
/**