Parcourir la source

GnuTLS: Implement tls_connection_enable_workaround()

Jouni Malinen il y a 15 ans
Parent
commit
b763863d97
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/crypto/tls_gnutls.c

+ 1 - 1
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;
 }