mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
GnuTLS: Implement tls_connection_enable_workaround()
This commit is contained in:
parent
9dd37a224b
commit
b763863d97
@ -1271,7 +1271,7 @@ int tls_get_cipher(void *ssl_ctx, struct tls_connection *conn,
|
||||
int tls_connection_enable_workaround(void *ssl_ctx,
|
||||
struct tls_connection *conn)
|
||||
{
|
||||
/* TODO: set SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS */
|
||||
gnutls_record_disable_padding(conn->session);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user