Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ret will be set to 1 (WOLFSSL_SUCCESS), the rest checks for 'ret == 0' #7678

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

bandi13
Copy link
Contributor

@bandi13 bandi13 commented Jun 24, 2024

Need to use another type of return code

This came up as an issue uncovered with our TLSFuzzer. A piece of code was fixed that wasn't checking if ret != 0 and set it to something else. Then subsequent code would work correctly because now ret == 0. When that code was fixed, this issue popped up where the cipher suite was being returned as TLS_NULL_WITH_NULL_NULL.

@bandi13 bandi13 assigned bandi13 and wolfSSL-Bot and unassigned bandi13 Jun 24, 2024
@JacobBarthelmeh JacobBarthelmeh merged commit 38335f4 into wolfSSL:master Jun 25, 2024
119 checks passed
@bandi13 bandi13 deleted the fixReturnType branch June 26, 2024 20:42
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.

3 participants