Skip to content

crypto: add OPENSSL_IS_BORINGSSL guard

Rodrigo Muino Tomonari requested to merge github/fork/codebytere/add-guard into master

Follow-up to https://github.com/nodejs/node/pull/38888 - that PR addressed most of our needs but I neglected to include the guard for OPENSSL_IS_BORINGSSL.

This is necessary over and above the initialization flags conditional because several functions including OPENSSL_init() are not defined in BoringSSL, so while they might not be called for us anymore under the previous PR they still exist for the compiler and cause compiler errors. This fixes that.

Merge request reports

Loading