forked from wolfSSL/wolfssl
1. Fixed a build warning.
2. Fixed an initialization bug when decoding old-style client hellos.
This commit is contained in:
@ -89,8 +89,8 @@ CYASSL_CALLBACKS needs LARGE_STATIC_BUFFERS, please add LARGE_STATIC_BUFFERS
|
|||||||
|
|
||||||
|
|
||||||
#ifdef CYASSL_DTLS
|
#ifdef CYASSL_DTLS
|
||||||
static int DtlsCheckWindow(DtlsState* state);
|
static INLINE int DtlsCheckWindow(DtlsState* state);
|
||||||
static int DtlsUpdateWindow(DtlsState* state);
|
static INLINE int DtlsUpdateWindow(DtlsState* state);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -9887,6 +9887,7 @@ static void PickHashSigAlgo(CYASSL* ssl,
|
|||||||
|
|
||||||
if (clSuites.suiteSz > MAX_SUITE_SZ)
|
if (clSuites.suiteSz > MAX_SUITE_SZ)
|
||||||
return BUFFER_ERROR;
|
return BUFFER_ERROR;
|
||||||
|
clSuites.hashSigAlgoSz = 0;
|
||||||
|
|
||||||
/* session size */
|
/* session size */
|
||||||
ato16(&input[idx], &sessionSz);
|
ato16(&input[idx], &sessionSz);
|
||||||
|
Reference in New Issue
Block a user