From: Jouni Malinen Date: Sun, 20 Dec 2009 20:08:54 +0000 (+0200) Subject: GnuTLS: Implement tls_connection_enable_workaround() X-Git-Tag: hostap_0_7_1~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b763863d97a640156e66d0ee0f6945a4235fa596;p=thirdparty%2Fhostap.git GnuTLS: Implement tls_connection_enable_workaround() --- diff --git a/src/crypto/tls_gnutls.c b/src/crypto/tls_gnutls.c index 7ab7731b6..c3a7358c0 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; }