Skip to content

refactored hexToBin function to reduct code paths and increase code c…#241

Open
aidankeefe2022 wants to merge 1 commit into
wolfSSL:mainfrom
aidankeefe2022:refactor-HexToBin-to-decrease-code-paths
Open

refactored hexToBin function to reduct code paths and increase code c…#241
aidankeefe2022 wants to merge 1 commit into
wolfSSL:mainfrom
aidankeefe2022:refactor-HexToBin-to-decrease-code-paths

Conversation

@aidankeefe2022
Copy link
Copy Markdown
Member

…overage. Previous function had 75% of it never hit causing code branches to not be called this new version removes those and allows for the same logic to be used for all of the function arguments. previous version was also a little harder to read * personal opinion.

Copy link
Copy Markdown

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #241

Scan targets checked: wolfclu-bugs, wolfclu-src

No new issues found in the changed files. ✅

@aidankeefe2022 aidankeefe2022 force-pushed the refactor-HexToBin-to-decrease-code-paths branch from 0952756 to 26666e9 Compare June 2, 2026 18:42
Copy link
Copy Markdown

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #241

Scan targets checked: wolfclu-bugs, wolfclu-src

Findings: 1
1 finding(s) posted as inline comments (see file-level comments below)

This review was generated automatically by Fenrir. Findings are non-blocking.

@aidankeefe2022 aidankeefe2022 force-pushed the refactor-HexToBin-to-decrease-code-paths branch from 26666e9 to 750f158 Compare June 2, 2026 22:34
Copy link
Copy Markdown

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #241

Scan targets checked: wolfclu-bugs, wolfclu-src

No new issues found in the changed files. ✅

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.

4 participants