diff --git a/src/node.cc b/src/node.cc index b60be116b6139b..8efe860c93d9a4 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1030,7 +1030,7 @@ InitializationResult InitializeOncePerProcess( } if (init_flags & kInitOpenSSL) { -#if HAVE_OPENSSL +#if HAVE_OPENSSL && !defined(OPENSSL_IS_BORINGSSL) { std::string extra_ca_certs; if (credentials::SafeGetenv("NODE_EXTRA_CA_CERTS", &extra_ca_certs))