forked from wolfSSL/wolfssl
fix warning for compilers that don't understand bitfield size
This commit is contained in:
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user