checksrc: warn for leading spaces before the preprocessor hash

Fix the 40+ fallouts

Closes #20282
This commit is contained in:
Daniel Stenberg 2026-01-13 09:23:21 +01:00
parent dac98ccfa2
commit f057ed05be
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 55 additions and 46 deletions

View file

@ -57,11 +57,11 @@
#endif
#if defined(USE_OPENSSL) && defined(HAVE_DES_ECB_ENCRYPT)
#define USE_OPENSSL_DES
# define USE_OPENSSL_DES
#elif defined(USE_WOLFSSL) && defined(HAVE_WOLFSSL_DES_ECB_ENCRYPT)
#define USE_OPENSSL_DES
# define USE_OPENSSL_DES
#elif defined(USE_MBEDTLS) && defined(HAVE_MBEDTLS_DES_CRYPT_ECB)
#define USE_MBEDTLS_DES
# define USE_MBEDTLS_DES
#endif
#ifdef USE_OPENSSL_DES