Skip to content

Fix for setting curve using all caps with wolfSSL_set1_curves_list#9863

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
JacobBarthelmeh:f361
Mar 11, 2026
Merged

Fix for setting curve using all caps with wolfSSL_set1_curves_list#9863
douzzer merged 1 commit intowolfSSL:masterfrom
JacobBarthelmeh:f361

Conversation

@JacobBarthelmeh
Copy link
Contributor

F-361

@JacobBarthelmeh JacobBarthelmeh self-assigned this Mar 4, 2026
Copilot AI review requested due to automatic review settings March 4, 2026 17:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes ECC curve list handling so uppercase wolfCrypt curve names (e.g., SECP384R1) resolve correctly via the fallback path when kNistCurves doesn’t match due to case sensitivity.

Changes:

  • Adjusted set_curves_list() to use the correct resolved curve identifier when retrieving ECC params.
  • Added a TLS 1.3 API test that exercises the uppercase-name fallback behavior.
  • Registered the new test in the TLS 1.3 API test suite.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
tests/api/test_tls13.h Registers the new TLS 1.3 test in declarations and test group list.
tests/api/test_tls13.c Adds a regression test for uppercase curve name handling via fallback resolution.
src/ssl.c Fixes curve-parameter lookup to use the fallback-resolved curve id.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@douzzer douzzer added the Conflicts Conflicts with master or staged PRs label Mar 5, 2026
Copilot AI review requested due to automatic review settings March 5, 2026 22:40
@JacobBarthelmeh JacobBarthelmeh removed the Conflicts Conflicts with master or staged PRs label Mar 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@philljj
Copy link
Contributor

philljj commented Mar 6, 2026

Retest this please.

Copilot AI review requested due to automatic review settings March 9, 2026 16:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@douzzer douzzer added the Staged Staged for merge pending final test results and review label Mar 10, 2026
@JacobBarthelmeh
Copy link
Contributor Author

Retest this please Jenkins

@douzzer douzzer merged commit df50430 into wolfSSL:master Mar 11, 2026
455 of 456 checks passed
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.0 Staged Staged for merge pending final test results and review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants