From c06590a81e80dbb2aef53afccfeb7a58e4b68082 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 26 Jun 2025 14:57:05 +0200 Subject: [PATCH 1/2] crypto: fix inclusion of OPENSSL_IS_BORINGSSL define --- src/node_config.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/node_config.cc b/src/node_config.cc index 6032bbd10f41da..b0fcf81c996c91 100644 --- a/src/node_config.cc +++ b/src/node_config.cc @@ -7,6 +7,10 @@ #include "node_options.h" #include "util-inl.h" +#if HAVE_OPENSSL +#include "ncrypto.h" +#endif + namespace node { using v8::Context; From a0c73cda81761e788c100d5fca9f5a7c5a958069 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 30 Jun 2025 10:16:10 +0200 Subject: [PATCH 2/2] Update src/node_config.cc Co-authored-by: Anna Henningsen --- src/node_config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_config.cc b/src/node_config.cc index b0fcf81c996c91..7245d9130d0365 100644 --- a/src/node_config.cc +++ b/src/node_config.cc @@ -8,7 +8,7 @@ #include "util-inl.h" #if HAVE_OPENSSL -#include "ncrypto.h" +#include "ncrypto.h" // Ensure OPENSSL_IS_BORINGSSL is defined if applicable #endif namespace node {