internal.c: refactoring DoServerHello to reduce stack usage:
--- variable clSuites removed (sizeof(Suites) saved) ps.: TLSX_Parse() does not requires the suites parameter at client side.
This commit is contained in:
parent
a7e585b63d
commit
845e49781f
@ -9275,7 +9275,6 @@ static void PickHashSigAlgo(CYASSL* ssl,
|
||||
if (TLSX_SupportExtensions(ssl)) {
|
||||
int ret = 0;
|
||||
word16 totalExtSz;
|
||||
Suites clSuites; /* just for compatibility right now */
|
||||
|
||||
if ((i - begin) + OPAQUE16_LEN > helloSz)
|
||||
return BUFFER_ERROR;
|
||||
@ -9287,7 +9286,7 @@ static void PickHashSigAlgo(CYASSL* ssl,
|
||||
return BUFFER_ERROR;
|
||||
|
||||
if ((ret = TLSX_Parse(ssl, (byte *) input + i,
|
||||
totalExtSz, 0, &clSuites)))
|
||||
totalExtSz, 0, NULL)))
|
||||
return ret;
|
||||
|
||||
i += totalExtSz;
|
||||
|
Loading…
Reference in New Issue
Block a user