Skip to content

Fix for PSK callback with OPENSSL_EXTRA to correctly handle the 0 length#7341

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
dgarske:psk_openssl
Mar 15, 2024
Merged

Fix for PSK callback with OPENSSL_EXTRA to correctly handle the 0 length#7341
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
dgarske:psk_openssl

Conversation

@dgarske
Copy link
Copy Markdown
Member

@dgarske dgarske commented Mar 15, 2024

Description

Fix for PSK callback with OPENSSL_EXTRA to correctly handle the 0 length case. Thank you @miyazakh.
Broken in #7302

Hide: "I am seeing Qt Jenkins failure from couple days ago. I have dig into it. It starts after the PR7302 got merged. Qt uses PSK call back and it returns 0 if there is suitable data unavailable. In the case, it's TLS extensions didn’t have PSK extension, and it went TLS handshake. Now, it tries to set PSK extension when returning 0 from call back, and then becomes failure due to no available PSK when building PSK extension.

Testing

How did you test?

Checklist

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

@JacobBarthelmeh
Copy link
Copy Markdown
Contributor

JacobBarthelmeh commented Mar 15, 2024

Retest this please Jenkins

@JacobBarthelmeh JacobBarthelmeh merged commit 5a5648a into wolfSSL:master Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants