diff options
Diffstat (limited to 'lib/record.c')
-rw-r--r-- | lib/record.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/record.c b/lib/record.c index c9bf616caa..ce0ecb672a 100644 --- a/lib/record.c +++ b/lib/record.c @@ -1760,6 +1760,10 @@ gnutls_record_send(gnutls_session_t session, const void *data, * To determine the maximum size of padding, use * gnutls_record_get_max_size() and gnutls_record_overhead_size(). * + * Note that in order for GnuTLS to provide constant time processing + * of padding and data in TLS1.3, the flag %GNUTLS_SAFE_PADDING_CHECK + * must be used in gnutls_init(). + * * Returns: The number of bytes sent, or a negative error code. The * number of bytes sent might be less than @data_size. The maximum * number of bytes this function can send in a single call depends |