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 @@ -1084,7 +1084,8 @@ InitializeOncePerProcessInternal(const std::vector<std::string>& args,
1084
1084
}
1085
1085
1086
1086
if (!(flags & ProcessInitializationFlags::kNoInitOpenSSL )) {
1087
- #if HAVE_OPENSSL && !defined(OPENSSL_IS_BORINGSSL)
1087
+ #if HAVE_OPENSSL
1088
+ #ifndef OPENSSL_IS_BORINGSSL
1088
1089
auto GetOpenSSLErrorString = []() -> std::string {
1089
1090
std::string ret;
1090
1091
ERR_print_errors_cb (
@@ -1184,13 +1185,13 @@ InitializeOncePerProcessInternal(const std::vector<std::string>& args,
1184
1185
CHECK (crypto::CSPRNG (buffer, length).is_ok ());
1185
1186
return true ;
1186
1187
});
1187
-
1188
+ # endif // !defined(OPENSSL_IS_BORINGSSL)
1188
1189
{
1189
1190
std::string extra_ca_certs;
1190
1191
if (credentials::SafeGetenv (" NODE_EXTRA_CA_CERTS" , &extra_ca_certs))
1191
1192
crypto::UseExtraCaCerts (extra_ca_certs);
1192
1193
}
1193
- #endif // HAVE_OPENSSL && !defined(OPENSSL_IS_BORINGSSL)
1194
+ #endif // HAVE_OPENSSL
1194
1195
}
1195
1196
1196
1197
if (!(flags & ProcessInitializationFlags::kNoInitializeNodeV8Platform )) {
You can’t perform that action at this time.
0 commit comments