summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-07-30 16:48:26 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-08-07 06:38:49 +0200
commit34fb0de7e228c94921aaac826851db525132f1f5 (patch)
treeee9a1bc96f5605c326489cdb2994df22362269c5 /lib/gnutls_int.h
parent695a2549763af25157db50f88d19ea097dd6ab8e (diff)
downloadgnutls-34fb0de7e228c94921aaac826851db525132f1f5.tar.gz
resume: keep persistent session identifiers
With the introduction of session ticket support (TLS1.2) and TLS1.3, session identifiers have no persistency on server or client side. Improve the situation by introducing persistent session identifiers on server side in a backwards compatible way. Resolves #484 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 412bb368a1..925759049c 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -115,6 +115,8 @@ typedef struct {
*/
#define MAX_HANDSHAKE_PACKET_SIZE 128*1024
+#define GNUTLS_DEF_SESSION_ID_SIZE 32
+
/* The maximum digest size of hash algorithms.
*/
#define MAX_FILENAME 512