Skip to content

Commit 8a79cca

Browse files
skepticfxindutny
authored andcommitted
crypto: comment change on disabling compression
This is a comment change, where it originally says disabling TLS Compression protects against BEAST attack. But in fact, it is the CRIME attack(Compression Ratio Info-leak Made Easy) that makes use of TLS Compression and not BEAST. BEAST(Browser Exploit Against SSL/TLS) is an entirely another variant making use of the chosen boundary attack against CBC mode in encryption. Just making sure, that the exact reason for disabling TLS compression must be made clear and not be misleading with some other attack.
1 parent 8803aa3 commit 8a79cca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/node_crypto.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4060,7 +4060,7 @@ void InitCryptoOnce() {
40604060
CRYPTO_set_locking_callback(crypto_lock_cb);
40614061
CRYPTO_THREADID_set_callback(crypto_threadid_cb);
40624062

4063-
// Turn off compression. Saves memory and protects against BEAST attacks.
4063+
// Turn off compression. Saves memory and protects against CRIME attacks.
40644064
#if !defined(OPENSSL_NO_COMP)
40654065
#if OPENSSL_VERSION_NUMBER < 0x00908000L
40664066
STACK_OF(SSL_COMP)* comp_methods = SSL_COMP_get_compression_method();

0 commit comments

Comments
 (0)