Guard obj_mac.h from clang-format

Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Wed May  6 11:36:04 2026
(Merged from https://github.com/openssl/openssl/pull/31001)
This commit is contained in:
Bob Beck
2026-04-27 19:55:17 -06:00
committed by Norbert Pocs
parent b855299a66
commit 72fa902ccd
2 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -148,9 +148,10 @@ print <<"EOF";
*/
#ifndef OPENSSL_OBJ_MAC_H
# define OPENSSL_OBJ_MAC_H
# pragma once
#define OPENSSL_OBJ_MAC_H
#pragma once
/* clang-format off */
#define SN_undef "UNDEF"
#define LN_undef "undefined"
#define NID_undef 0
@@ -177,6 +178,7 @@ foreach (sort { $a <=> $b } keys %ordern)
}
print <<EOF;
/* clang-format on */
#endif /* OPENSSL_OBJ_MAC_H */
EOF
+4 -2
View File
@@ -10,9 +10,10 @@
*/
#ifndef OPENSSL_OBJ_MAC_H
# define OPENSSL_OBJ_MAC_H
# pragma once
#define OPENSSL_OBJ_MAC_H
#pragma once
/* clang-format off */
#define SN_undef "UNDEF"
#define LN_undef "undefined"
#define NID_undef 0
@@ -6649,6 +6650,7 @@
#define LN_ML_KEM_1024 "ML-KEM-1024"
#define NID_ML_KEM_1024 1456
#define OBJ_ML_KEM_1024 OBJ_nistKems,3L
/* clang-format on */
#endif /* OPENSSL_OBJ_MAC_H */