Skip to content

Async Sniffer: Fix for decryption after second handshake#5811

Merged
dgarske merged 2 commits intowolfSSL:masterfrom
lealem47:zd15184
Dec 12, 2022
Merged

Async Sniffer: Fix for decryption after second handshake#5811
dgarske merged 2 commits intowolfSSL:masterfrom
lealem47:zd15184

Conversation

@lealem47
Copy link
Copy Markdown
Contributor

Description

Fixes an infinite loop that can occur after a second handshake after initial decryption. wolfSSL_Async_Push() in SetupKeys() doesn't get to wolfSSL_Async_Pop() in SetupKeys(), instead it is popped at DecryptTls() causing an infinite loop.

Fixes zd#15184

Testing

How did you test?

On QAT hardware with the testfiles provided by customer.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@lealem47 lealem47 self-assigned this Nov 22, 2022
@dgarske dgarske self-assigned this Nov 22, 2022
@dgarske dgarske self-requested a review November 22, 2022 18:39
@lealem47 lealem47 removed their assignment Dec 2, 2022
@dgarske dgarske merged commit b871829 into wolfSSL:master Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants