mirror of https://github.com/wolfSSL/wolfssl.git
Fix for building TLS v1.3 code on Windows
parent
5235e256c7
commit
fa2db8b22e
|
@ -1622,6 +1622,8 @@ static int TLSX_SNI_Parse(WOLFSSL* ssl, byte* input, word16 length,
|
|||
switch(type) {
|
||||
case WOLFSSL_SNI_HOST_NAME: {
|
||||
int matchStat;
|
||||
byte matched;
|
||||
|
||||
#ifdef WOLFSSL_TLS13
|
||||
/* Don't process the second ClientHello SNI extension if there
|
||||
* was problems with the first.
|
||||
|
@ -1629,7 +1631,7 @@ static int TLSX_SNI_Parse(WOLFSSL* ssl, byte* input, word16 length,
|
|||
if (!cacheOnly && sni->status != 0)
|
||||
break;
|
||||
#endif
|
||||
byte matched = cacheOnly ||
|
||||
matched = cacheOnly ||
|
||||
((XSTRLEN(sni->data.host_name) == size) &&
|
||||
(XSTRNCMP(sni->data.host_name,
|
||||
(const char*)input + offset, size) == 0));
|
||||
|
|
|
@ -6120,6 +6120,7 @@ int DoTls13HandShakeMsgType(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||
{
|
||||
int ret = 0;
|
||||
word32 inIdx = *inOutIdx;
|
||||
|
||||
(void)totalSz;
|
||||
|
||||
WOLFSSL_ENTER("DoTls13HandShakeMsgType");
|
||||
|
|
|
@ -319,6 +319,10 @@
|
|||
RelativePath=".\src\tls.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\tls13.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\wolfcrypt\src\wc_encrypt.c"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue