diff --git a/src/internal.c b/src/internal.c index 687866cc4..1b1afe8b4 100644 --- a/src/internal.c +++ b/src/internal.c @@ -627,9 +627,9 @@ static void InitSuitesHashSigAlgo(Suites* suites, int haveECDSAsig, suites->hashSigAlgoSz = (word16)idx; } -void InitSuites(Suites* suites, ProtocolVersion pv, byte haveRSA, byte havePSK, - byte haveDH, byte haveNTRU, byte haveECDSAsig, - byte haveStaticECC, int side) +void InitSuites(Suites* suites, ProtocolVersion pv, word16 haveRSA, + word16 havePSK, word16 haveDH, word16 haveNTRU, + word16 haveECDSAsig, word16 haveStaticECC, int side) { word16 idx = 0; int tls = pv.major == SSLv3_MAJOR && pv.minor >= TLSv1_MINOR; diff --git a/wolfssl/internal.h b/wolfssl/internal.h index 11907d057..d12ed3257 100644 --- a/wolfssl/internal.h +++ b/wolfssl/internal.h @@ -1046,8 +1046,8 @@ typedef struct Suites { WOLFSSL_LOCAL -void InitSuites(Suites*, ProtocolVersion, - byte, byte, byte, byte, byte, byte, int); +void InitSuites(Suites*, ProtocolVersion, word16, word16, word16, word16, + word16, word16, int); WOLFSSL_LOCAL int SetCipherList(Suites*, const char* list);