build: drop stray ifndef guards for local/internal macros

For:
- lib/vtls: `MAX_PINNED_PUBKEY_SIZE`.
- src: `UNPRINTABLE_CHAR`.
- tests/server/tftpd: `PKTSIZE`.

Closes #20314
This commit is contained in:
Viktor Szakats 2026-01-13 19:44:56 +01:00
parent 20900e4a1e
commit 2623e333fd
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 0 additions and 6 deletions

View file

@ -93,9 +93,7 @@ struct ssl_peer {
CURLsslset Curl_init_sslset_nolock(curl_sslbackend id, const char *name,
const curl_ssl_backend ***avail);
#ifndef MAX_PINNED_PUBKEY_SIZE
#define MAX_PINNED_PUBKEY_SIZE 1048576 /* 1 MiB */
#endif
curl_sslbackend Curl_ssl_backend(void);

View file

@ -59,10 +59,8 @@ extern FILE *tool_stderr;
#define CURL_OS "unknown"
#endif
#ifndef UNPRINTABLE_CHAR
/* define what to use for unprintable characters */
#define UNPRINTABLE_CHAR '.'
#endif
#ifndef HAVE_STRDUP
#include "tool_strdup.h"

View file

@ -108,9 +108,7 @@ struct tftphdr {
* STRUCT DECLARATIONS AND DEFINES *
*****************************************************************************/
#ifndef PKTSIZE
#define PKTSIZE (SEGSIZE + 4) /* SEGSIZE defined in arpa/tftp.h */
#endif
struct testcase {
char *buffer; /* holds the file data to send to the client */