Commit 45368a61f7 for openssl.org
commit 45368a61f74842c36bd2499e921b2f49163b6763
Author: Pauli <paul.dale@oracle.com>
Date: Mon Aug 31 12:18:41 2026 +1000
ec_params: add include guard to crypto/ec_params.h.in
Assisted-by: ChatGPT:gpt-5.6Sol
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Mounir Idrassi <mounir.idrassi@idrix.fr>
(Merged from https://github.com/openssl/openssl/pull/32502)
diff --git a/include/crypto/ec_params.h.in b/include/crypto/ec_params.h.in
index c911136030..008da96400 100644
--- a/include/crypto/ec_params.h.in
+++ b/include/crypto/ec_params.h.in
@@ -7,6 +7,9 @@
* https://www.openssl.org/source/license.html
*/
+#ifndef OSSL_CRYPTO_EC_PARAMS_H
+#define OSSL_CRYPTO_EC_PARAMS_H
+
/* clang-format off */
{-
@@ -256,3 +259,5 @@ $imexport;
'fips_indicator', 'int', 'fips']); -}
/* clang-format on */
+
+#endif