summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-18 10:35:13 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-08-11 08:35:05 +0200
commit7b6b0b422cc64649b4a1189e249799d7ae86498b (patch)
tree2fbabf3127995444ea8084456b6d00d885b5c0d4
parent79578b322fcf5db805b0738e6e5a2878ec6efea6 (diff)
downloadgnutls-7b6b0b422cc64649b4a1189e249799d7ae86498b.tar.gz
gnutls_int.h: reduce memory occupied by ext_data
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/gnutls_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index aab1fe1e5f..c0e0d7eed7 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1098,9 +1098,9 @@ typedef struct {
struct {
uint16_t type;
gnutls_ext_priv_data_t priv;
- bool set;
gnutls_ext_priv_data_t resumed_priv;
- bool resumed_set;
+ uint8_t set;
+ uint8_t resumed_set;
} ext_data[MAX_EXT_TYPES];
/* In case of a client holds the extensions we sent to the peer;