nodejs/node

Run tests with OPENSSL_CONF set to embedded openssl.cnf

Fechada

#24.373 aberto em 15 de nov. de 2018

 (3 comentários) (0 reação) (0 responsável)JavaScript (35.535 forks)batch import
help wantedopensslstaletest

Métricas do repositório

Stars
 (117.218 estrelas)
Métricas de merge de PR
 (Mesclagem média 18d 17h) (219 fundiu PRs em 30d)

Description

  • Version: <= 10.13.0
  • Platform: Linux

when building with the --shared-openssl flag, it is highly probable that the openssl.cnf used by the shared library will be different than the one present in Node.js source code, resulting in several test failures. Typically, on debian, openssl is configured with stricter options regarding key length and TLS versions. It is very easy to avoid any test failure, though, by setting this environment variable when running tests: OPENSSL_CONF=./deps/openssl/openssl/apps/openssl.cnf

Guia do colaborador