handle bunlded scr messages
This commit is contained in:
parent
a937040087
commit
29d4148637
@ -6384,6 +6384,12 @@ int ProcessReply(CYASSL* ssl)
|
||||
}
|
||||
#endif
|
||||
ssl->options.processReply = runProcessingOneMessage;
|
||||
|
||||
if (ssl->keys.encryptionOn) {
|
||||
CYASSL_MSG("Bundled encrypted messages, remove middle pad");
|
||||
ssl->buffers.inputBuffer.idx -= ssl->keys.padSz;
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
/* more records */
|
||||
@ -9161,6 +9167,9 @@ static void PickHashSigAlgo(CYASSL* ssl,
|
||||
else if (IsTLS(ssl))
|
||||
ssl->options.sendVerify = SEND_BLANK_CERT;
|
||||
|
||||
if (ssl->keys.encryptionOn)
|
||||
*inOutIdx += ssl->keys.padSz;
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif /* !NO_CERTS */
|
||||
|
Loading…
Reference in New Issue
Block a user