aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-20 20:08:54 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-20 20:08:54 (GMT)
commitb763863d97a640156e66d0ee0f6945a4235fa596 (patch)
treea56fcf246556bfb9e9277999340f19de6b58973a
parent9dd37a224b1e12a3acec6b0f5588082e20f4896d (diff)
downloadhostap-b763863d97a640156e66d0ee0f6945a4235fa596.zip
hostap-b763863d97a640156e66d0ee0f6945a4235fa596.tar.gz
hostap-b763863d97a640156e66d0ee0f6945a4235fa596.tar.bz2
GnuTLS: Implement tls_connection_enable_workaround()
-rw-r--r--src/crypto/tls_gnutls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/tls_gnutls.c b/src/crypto/tls_gnutls.c
index 7ab7731..c3a7358 100644
--- a/src/crypto/tls_gnutls.c
+++ b/src/crypto/tls_gnutls.c
@@ -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;
}