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