diff options
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 7bb39780b6..fe7a34bb63 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -955,17 +955,6 @@ typedef struct { /* A handshake process has been completed */ bool initial_negotiation_completed; - struct { - uint16_t type; - gnutls_ext_priv_data_t priv; - bool set; - } extension_int_data[MAX_EXT_TYPES]; - - struct { - uint16_t type; - gnutls_ext_priv_data_t priv; - bool set; - } resumed_extension_int_data[MAX_EXT_TYPES]; /* The type of transport protocol; stream or datagram */ transport_t transport; @@ -1056,6 +1045,19 @@ typedef struct { /* In case of a client holds the extensions we sent to the peer; * otherwise the extensions we received from the client. */ + + struct { + uint16_t type; + gnutls_ext_priv_data_t priv; + bool set; + } extension_int_data[MAX_EXT_TYPES]; + + struct { + uint16_t type; + gnutls_ext_priv_data_t priv; + bool set; + } resumed_extension_int_data[MAX_EXT_TYPES]; + const struct extension_entry_st *used_exts[MAX_EXT_TYPES]; unsigned used_exts_size; |