Skip to content

Commit e5998c4

Browse files
bnoordhuisevanlucas
authored andcommitted
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>
1 parent c0f13e5 commit e5998c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deps/openssl/openssl.gypi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,11 @@
12631263
# Microsoft's IIS, which seems to be ignoring whole ClientHello after
12641264
# seeing this extension.
12651265
'OPENSSL_NO_HEARTBEATS',
1266+
1267+
# Compile out hardware engines. Most are stubs that dynamically load
1268+
# the real driver but that poses a security liability when an attacker
1269+
# is able to create a malicious DLL in one of the default search paths.
1270+
'OPENSSL_NO_HW',
12661271
],
12671272
'openssl_default_defines_win': [
12681273
'MK1MF_BUILD',

0 commit comments

Comments
 (0)