summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-18 10:35:13 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-10 17:13:46 +0200
commitea05d430a2c08e77ea29bf2bae8dce5265f84f8d (patch)
tree956b318058e888ebd684c05af0720fbe768f42c3
parent8b596ba70d5050e36ef4a3c52a092d6d7977b4b3 (diff)
downloadgnutls-ea05d430a2c08e77ea29bf2bae8dce5265f84f8d.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;