summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 750da73ad6..0956a99151 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1146,6 +1146,8 @@ typedef struct {
#define HSK_CRT_REQ_GOT_SIG_ALGO (1<<6)
#define HSK_KEY_UPDATE_ASKED (1<<7) /* flag is not used during handshake */
#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 */
unsigned hsk_flags;
time_t last_key_update;
@@ -1224,10 +1226,6 @@ typedef struct {
* receive size */
unsigned max_recv_size;
- /* whether the peer has advertized at least an FFDHE group */
- bool have_ffdhe;
- bool used_ffdhe; /* whether ffdhe was actually negotiated and used */
-
/* candidate groups to be selected for security params groups */
const gnutls_group_entry_st *cand_ec_group;
const gnutls_group_entry_st *cand_dh_group;