mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
Disable TLS compression since the EAP-TTLS/PEAP/FAST payload processing
does not support it currently and EAP-TLS RFC does not allow compression to be negotiated for TLS.
This commit is contained in:
parent
dcf9c2bd77
commit
1f358437d3
@ -892,7 +892,7 @@ struct tls_connection * tls_connection_init(void *ssl_ctx)
|
||||
SSL_set_app_data(conn->ssl, conn);
|
||||
SSL_set_options(conn->ssl,
|
||||
SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 |
|
||||
SSL_OP_SINGLE_DH_USE);
|
||||
SSL_OP_SINGLE_DH_USE | SSL_OP_NO_COMPRESSION);
|
||||
|
||||
conn->ssl_in = BIO_new(BIO_s_mem());
|
||||
if (!conn->ssl_in) {
|
||||
|
Loading…
Reference in New Issue
Block a user