Skip to content

Commit c214e88

Browse files
bnoordhuisrvagg
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: nodejs-private/node-private#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>
1 parent 93b10fb commit c214e88

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
@@ -1260,6 +1260,11 @@
12601260
# Microsoft's IIS, which seems to be ignoring whole ClientHello after
12611261
# seeing this extension.
12621262
'OPENSSL_NO_HEARTBEATS',
1263+
1264+
# Compile out hardware engines. Most are stubs that dynamically load
1265+
# the real driver but that poses a security liability when an attacker
1266+
# is able to create a malicious DLL in one of the default search paths.
1267+
'OPENSSL_NO_HW',
12631268
],
12641269
'openssl_default_defines_win': [
12651270
'MK1MF_BUILD',

0 commit comments

Comments
 (0)