summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-12-09 11:23:24 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-12-09 11:24:36 +0100
commit1dc6df00c0b4e9c217187c4c4b3e8a8e5b86eed9 (patch)
treef18160178fc3d8cd34e7ff6037d4e9c68d18649c
parent86afd5226b1bebab55b0056fb791ed900c75d8fd (diff)
downloadgnutls-tmp-nmav-draft-ietf-tls-tls13-21-compact-state.tar.gz
doc: documented hsk_flags "lifetime" and its resettmp-nmav-draft-ietf-tls-tls13-21-compact-state
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-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 d8de3a5903..bb422ddbe9 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1169,6 +1169,8 @@ typedef struct {
#define HSK_FALSE_START_USED (1<<8) /* TLS1.2 only */
#define HSK_HAVE_FFDHE (1<<9) /* whether the peer has advertized at least an FFDHE group */
#define HSK_USED_FFDHE (1<<10) /* whether ffdhe was actually negotiated and used */
+ /* The hsk_flags are for use within the ongoing handshake;
+ * they are reset to zero prior to handshake start by gnutls_handshake. */
unsigned hsk_flags;
time_t last_key_update;