Skip to content

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

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
bandi13:fixReturnType
Jun 25, 2024
Merged

ret will be set to 1 (WOLFSSL_SUCCESS), the rest checks for 'ret == 0'#7678
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
bandi13:fixReturnType

Conversation

@bandi13
Copy link
Copy Markdown
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
@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