1gnutls_record_disable_padding(3) gnutls gnutls_record_disable_padding(3)
2
3
4
6 gnutls_record_disable_padding - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_record_disable_padding(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls_session_t type.
16
18 Used to disabled padding in TLS 1.0 and above. Normally you do not
19 need to use this function, but there are buggy clients that complain if
20 a server pads the encrypted data. This of course will disable protec‐
21 tion against statistical attacks on the data.
22
23 This function is defunct since 3.1.7. Random padding is disabled by de‐
24 fault unless requested using gnutls_record_send_range().
25
27 Report bugs to <bugs@gnutls.org>.
28 Home page: https://www.gnutls.org
29
30
32 Copyright © 2001- Free Software Foundation, Inc., and others.
33 Copying and distribution of this file, with or without modification,
34 are permitted in any medium without royalty provided the copyright no‐
35 tice and this notice are preserved.
36
38 The full documentation for gnutls is maintained as a Texinfo manual.
39 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
40 visit
41
42 https://www.gnutls.org/manual/
43
44gnutls 3.7.2 gnutls_record_disable_padding(3)