]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
GnuTLS: Implement tls_connection_enable_workaround()
authorJouni Malinen <j@w1.fi>
Sun, 20 Dec 2009 20:08:54 +0000 (22:08 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 20 Dec 2009 20:08:54 +0000 (22:08 +0200)
src/crypto/tls_gnutls.c

index 7ab7731b659ed6be0de604494d35ff9240fb015b..c3a7358c0e77b113b739f6b7feb8fc922f46c474 100644 (file)
@@ -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;
 }