Skip to content

Commit bf29b68

Browse files
authored
Merge pull request #8045 from rizlik/sniffer-fix
sniffer: set ssl->curSize before invoking Do* routines
2 parents c230e10 + 92faa91 commit bf29b68

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sniffer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5006,6 +5006,7 @@ static const byte* DecryptMessage(WOLFSSL* ssl, const byte* input, word32 sz,
50065006
return NULL;
50075007
}
50085008

5009+
ssl->curSize = sz;
50095010
ssl->keys.encryptSz = sz;
50105011
if (ssl->options.tls1_1 && ssl->specs.cipher_type == block) {
50115012
output += ssl->specs.block_size; /* go past TLSv1.1 IV */

0 commit comments

Comments
 (0)