Disable clang-format around this macro

clang-format sensibly thinks this is an arithmatic operation,
and formats the math. Sadly it does not know we eventually
stringify this behind several other layers of nested macros
and so putting spaces in here is bad.

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29350)
This commit is contained in:
Bob Beck
2025-12-09 07:01:47 -07:00
parent b40b673f99
commit 5b0dffa861

View File

@@ -25,9 +25,11 @@
#include "internal/provider.h"
#include "internal/common.h"
/* clang-format off */
#ifndef OPENSSL_DEFAULT_SEED_SRC
#define OPENSSL_DEFAULT_SEED_SRC SEED - SRC
#define OPENSSL_DEFAULT_SEED_SRC SEED-SRC
#endif
/* clang-format on */
typedef struct rand_global_st {
/*