Skip to content

Commit

Permalink
squash! src: add --openssl-legacy-module option
Browse files Browse the repository at this point in the history
Remove --openssl-legacy-provider from documented options when OpenSSL
version is not 3.0.
  • Loading branch information
danbev committed Oct 16, 2021
1 parent c56a79e commit 415743a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ for (const line of [...nodeOptionsLines, ...v8OptionsLines]) {
}
}

if (!common.hasOpenSSL3) {
documented.delete('--openssl-legacy-provider');
}

// Filter out options that are conditionally present.
const conditionalOpts = [
{
Expand Down

0 comments on commit 415743a

Please sign in to comment.