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/73
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
v6
Ben Noordhuis 8 years ago
committed by Rod Vagg
parent
commit
6023ba114a
  1. 5
      deps/openssl/openssl.gypi

5
deps/openssl/openssl.gypi

@ -1263,6 +1263,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