Commit 2220ecf392 for openssl.org
commit 2220ecf392bd841e9ac56f144cdc9a48c77065b3
Author: Bob Beck <beck@openssl.org>
Date: Tue Sep 2 19:03:38 2025 -0600
asn1_item_list.h is not a self contained header file
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:35:45 2026
(Merged from https://github.com/openssl/openssl/pull/31001)
diff --git a/crypto/asn1/asn1_item_list.c b/crypto/asn1/asn1_item_list.c
index 2b57694e33..8d4f6daf6a 100644
--- a/crypto/asn1/asn1_item_list.c
+++ b/crypto/asn1/asn1_item_list.c
@@ -23,7 +23,9 @@
#include <openssl/x509v3.h>
#include <openssl/x509_acert.h>
-#include "asn1_item_list.h"
+/* clang-format off */
+#include "asn1_item_list.inc"
+/* clang-format on */
const ASN1_ITEM *ASN1_ITEM_lookup(const char *name)
{
diff --git a/crypto/asn1/asn1_item_list.h b/crypto/asn1/asn1_item_list.inc
similarity index 100%
rename from crypto/asn1/asn1_item_list.h
rename to crypto/asn1/asn1_item_list.inc