deps: configure OpenSSL's SSL_trace to be built

OpenSSL doesn't compile `SSL_trace()` by default for historical reasons.
Add the enable-ssl-trace option to the OpenSSL Configure arguments.

PR-URL: https://github.com/nodejs/node/pull/27376
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
pull/27484/head
Sam Roberts 2019-04-25 15:42:07 -07:00
parent 1d4a880700
commit 8a4e4a4242
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ CONFIGURE = ./Configure
# no-comp: against CRIME attack
# no-shared: openssl-cli needs static link
# no-afalgeng: old Linux kernel < 4.0 does not support it
COPTS = no-comp no-shared no-afalgeng
# enable-ssl-trace: cause the optional SSL_trace API to be built
COPTS = no-comp no-shared no-afalgeng enable-ssl-trace
# disable platform check in Configure
NO_WARN_ENV = CONFIGURE_CHECKER_WARN=1