diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-07-30 16:48:26 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-08-07 06:38:49 +0200 |
commit | 34fb0de7e228c94921aaac826851db525132f1f5 (patch) | |
tree | ee9a1bc96f5605c326489cdb2994df22362269c5 /lib/gnutls_int.h | |
parent | 695a2549763af25157db50f88d19ea097dd6ab8e (diff) | |
download | gnutls-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.h | 2 |
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 |