Browse Source

crypto: don't build hardware engines

Compile out hardware engines.  Most are stubs that dynamically load
the real driver but that poses a security liability when an attacker
is able to create a malicious DLL in one of the default search paths.

PR-URL: https://github.com/nodejs/node-private/pull/70
Reviewed-By: James Snell <jasnell@gmail.com>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Joao Reis <reis@janeasystems.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
v4.x
Ben Noordhuis 8 years ago
committed by Rod Vagg
parent
commit
c214e8847d
  1. 5
      deps/openssl/openssl.gypi

5
deps/openssl/openssl.gypi

@ -1260,6 +1260,11 @@
# Microsoft's IIS, which seems to be ignoring whole ClientHello after
# seeing this extension.
'OPENSSL_NO_HEARTBEATS',
# Compile out hardware engines. Most are stubs that dynamically load
# the real driver but that poses a security liability when an attacker
# is able to create a malicious DLL in one of the default search paths.
'OPENSSL_NO_HW',
],
'openssl_default_defines_win': [
'MK1MF_BUILD',

Loading…
Cancel
Save