summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-12-09 11:23:24 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:36 +0100
commita31b325515ee7146e6da732ead05b19d3419d7ca (patch)
treef046a185f917e94fc9050c83cc400bf25104d577 /lib/gnutls_int.h
parent1b12320a6938d327b07fc3c1e48ea6fe03d59a9b (diff)
downloadgnutls-a31b325515ee7146e6da732ead05b19d3419d7ca.tar.gz
doc: documented hsk_flags "lifetime" and its reset
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
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 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;