File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1079,7 +1079,8 @@ InitializeOncePerProcessInternal(const std::vector<std::string>& args,
1079
1079
}
1080
1080
1081
1081
if (!(flags & ProcessInitializationFlags::kNoInitOpenSSL )) {
1082
- #if HAVE_OPENSSL && !defined(OPENSSL_IS_BORINGSSL)
1082
+ #if HAVE_OPENSSL
1083
+ #ifndef OPENSSL_IS_BORINGSSL
1083
1084
auto GetOpenSSLErrorString = []() -> std::string {
1084
1085
std::string ret;
1085
1086
ERR_print_errors_cb (
@@ -1179,13 +1180,13 @@ InitializeOncePerProcessInternal(const std::vector<std::string>& args,
1179
1180
CHECK (crypto::CSPRNG (buffer, length).is_ok ());
1180
1181
return true ;
1181
1182
});
1182
-
1183
+ # endif // !defined(OPENSSL_IS_BORINGSSL)
1183
1184
{
1184
1185
std::string extra_ca_certs;
1185
1186
if (credentials::SafeGetenv (" NODE_EXTRA_CA_CERTS" , &extra_ca_certs))
1186
1187
crypto::UseExtraCaCerts (extra_ca_certs);
1187
1188
}
1188
- #endif // HAVE_OPENSSL && !defined(OPENSSL_IS_BORINGSSL)
1189
+ #endif // HAVE_OPENSSL
1189
1190
}
1190
1191
1191
1192
if (!(flags & ProcessInitializationFlags::kNoInitializeNodeV8Platform )) {
You can’t perform that action at this time.
0 commit comments