summaryrefslogtreecommitdiff
path: root/lib/includes
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2021-04-29 08:35:02 +0200
committerDaiki Ueno <ueno@gnu.org>2021-05-13 11:19:17 +0200
commit09962631f3ee37aa2638b2909ef6c428dc26a2ad (patch)
treebd047cd6c20a301752a8d18d8c6f68dc04108725 /lib/includes
parent2d73f89a41d145321e2431c78d7d05956a819db1 (diff)
downloadgnutls-09962631f3ee37aa2638b2909ef6c428dc26a2ad.tar.gz
gnutls_init: add flag to omit EndOfEarlyData messages
The message is prohibited in QUIC: https://tools.ietf.org/html/draft-ietf-quic-tls-34#section-8.3 Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'lib/includes')
-rw-r--r--lib/includes/gnutls/gnutls.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index ef33a921c2..ca01fc9bdc 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -480,6 +480,7 @@ typedef enum {
* @GNUTLS_ENABLE_RAWPK: Allows raw public-keys to be negotiated during the handshake. Since 3.6.6.
* @GNUTLS_NO_AUTO_SEND_TICKET: Under TLS1.3 disable auto-sending of
* session tickets during the handshake.
+ * @GNUTLS_NO_END_OF_EARLY_DATA: Under TLS1.3 suppress sending EndOfEarlyData message. Since 3.7.2.
*
* Enumeration of different flags for gnutls_init() function. All the flags
* can be combined except @GNUTLS_SERVER and @GNUTLS_CLIENT which are mutually
@@ -511,7 +512,8 @@ typedef enum {
GNUTLS_ENABLE_RAWPK = (1<<18),
GNUTLS_AUTO_REAUTH = (1<<19),
GNUTLS_ENABLE_EARLY_DATA = (1<<20),
- GNUTLS_NO_AUTO_SEND_TICKET = (1<<21)
+ GNUTLS_NO_AUTO_SEND_TICKET = (1<<21),
+ GNUTLS_NO_END_OF_EARLY_DATA = (1<<22)
} gnutls_init_flags_t;
/* compatibility defines (previous versions of gnutls