nodejs/node

Run tests with OPENSSL_CONF set to embedded openssl.cnf

Open

#24,373 建立於 2018年11月15日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (35,535 fork)batch import
help wantedopensslstaletest

倉庫指標

Star
 (117,218 star)
PR 合併指標
 (平均合併 18天 17小時) (30 天內合併 219 個 PR)

描述

  • 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

貢獻者指南