Commit e8c9f01
crypto: disable ssl compression at build time
SSL compression was first disabled at runtime in March 2011 in commit
e83c695 ("Disable compression with OpenSSL.") for performance reasons
and was later shown to be vulnerable to information leakage (CRIME.)
Let's stop compiling it in altogether.
This commit removes a broken CHECK from src/node_crypto.cc; broken
because sk_SSL_COMP_num() returns -1 for a NULL stack, not 0. As a
result, node.js would abort when linked to an OPENSSL_NO_COMP build
of openssl.
PR-URL: #6582
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: James M Snell <[email protected]>1 parent 2d67741 commit e8c9f01
2 files changed
+5
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | 217 | | |
222 | 218 | | |
223 | 219 | | |
| |||
1252 | 1248 | | |
1253 | 1249 | | |
1254 | 1250 | | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
1255 | 1254 | | |
1256 | 1255 | | |
1257 | 1256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5721 | 5721 | | |
5722 | 5722 | | |
5723 | 5723 | | |
5724 | | - | |
5725 | | - | |
5726 | | - | |
5727 | | - | |
5728 | | - | |
5729 | | - | |
5730 | | - | |
5731 | | - | |
5732 | | - | |
| 5724 | + | |
| 5725 | + | |
5733 | 5726 | | |
5734 | 5727 | | |
5735 | 5728 | | |
| |||
0 commit comments