]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc: documented hsk_flags "lifetime" and its reset
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 9 Dec 2017 10:23:24 +0000 (11:23 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 19 Feb 2018 14:29:36 +0000 (15:29 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
lib/gnutls_int.h

index d8de3a5903e73a0eee11651efc1bfe0e5bc13fc6..bb422ddbe94407b6f46e837cbd4595d9b9189d81 100644 (file)
@@ -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;