File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1174,7 +1174,7 @@ InitializeOncePerProcessInternal(const std::vector<std::string>& args,
1174
1174
1175
1175
// Ensure CSPRNG is properly seeded.
1176
1176
CHECK (crypto::CSPRNG (nullptr , 0 ).is_ok ());
1177
-
1177
+ # endif // defined(OPENSSL_IS_BORINGSSL)
1178
1178
V8::SetEntropySource ([](unsigned char * buffer, size_t length) {
1179
1179
// V8 falls back to very weak entropy when this function fails
1180
1180
// and /dev/urandom isn't available. That wouldn't be so bad if
@@ -1189,7 +1189,7 @@ InitializeOncePerProcessInternal(const std::vector<std::string>& args,
1189
1189
if (credentials::SafeGetenv (" NODE_EXTRA_CA_CERTS" , &extra_ca_certs))
1190
1190
crypto::UseExtraCaCerts (extra_ca_certs);
1191
1191
}
1192
- #endif // HAVE_OPENSSL && !defined(OPENSSL_IS_BORINGSSL)
1192
+ #endif // HAVE_OPENSSL
1193
1193
}
1194
1194
1195
1195
if (!(flags & ProcessInitializationFlags::kNoInitializeNodeV8Platform )) {
You can’t perform that action at this time.
0 commit comments