From 4bf74da2f327532574d7f861eecc10a80bbe7396 Mon Sep 17 00:00:00 2001 From: toddouska Date: Sat, 7 Mar 2015 09:57:14 -0800 Subject: [PATCH] optimize Suites layout --- wolfssl/internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wolfssl/internal.h b/wolfssl/internal.h index 7c63779b3..e478db6fb 100644 --- a/wolfssl/internal.h +++ b/wolfssl/internal.h @@ -1034,11 +1034,11 @@ typedef struct { /* Cipher Suites holder */ typedef struct Suites { - int setSuites; /* user set suites from default */ - byte suites[MAX_SUITE_SZ]; word16 suiteSz; /* suite length in bytes */ - byte hashSigAlgo[HELLO_EXT_SIGALGO_MAX]; /* sig/algo to offer */ word16 hashSigAlgoSz; /* SigAlgo extension length in bytes */ + byte suites[MAX_SUITE_SZ]; + byte hashSigAlgo[HELLO_EXT_SIGALGO_MAX]; /* sig/algo to offer */ + byte setSuites; /* user set suites from default */ byte hashAlgo; /* selected hash algorithm */ byte sigAlgo; /* selected sig algorithm */ } Suites;