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;
|
suites->hashSigAlgoSz = (word16)idx;
|
||||||
}
|
}
|
||||||
|
|
||||||
void InitSuites(Suites* suites, ProtocolVersion pv, byte haveRSA, byte havePSK,
|
void InitSuites(Suites* suites, ProtocolVersion pv, word16 haveRSA,
|
||||||
byte haveDH, byte haveNTRU, byte haveECDSAsig,
|
word16 havePSK, word16 haveDH, word16 haveNTRU,
|
||||||
byte haveStaticECC, int side)
|
word16 haveECDSAsig, word16 haveStaticECC, int side)
|
||||||
{
|
{
|
||||||
word16 idx = 0;
|
word16 idx = 0;
|
||||||
int tls = pv.major == SSLv3_MAJOR && pv.minor >= TLSv1_MINOR;
|
int tls = pv.major == SSLv3_MAJOR && pv.minor >= TLSv1_MINOR;
|
||||||
|
@ -1046,8 +1046,8 @@ typedef struct Suites {
|
|||||||
|
|
||||||
|
|
||||||
WOLFSSL_LOCAL
|
WOLFSSL_LOCAL
|
||||||
void InitSuites(Suites*, ProtocolVersion,
|
void InitSuites(Suites*, ProtocolVersion, word16, word16, word16, word16,
|
||||||
byte, byte, byte, byte, byte, byte, int);
|
word16, word16, int);
|
||||||
WOLFSSL_LOCAL
|
WOLFSSL_LOCAL
|
||||||
int SetCipherList(Suites*, const char* list);
|
int SetCipherList(Suites*, const char* list);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user