Skip to content

Rust wrapper: fix intermittent test_dh failure#9341

Merged
dgarske merged 1 commit intowolfSSL:masterfrom
holtrop:rust-dh-test-fix
Oct 24, 2025
Merged

Rust wrapper: fix intermittent test_dh failure#9341
dgarske merged 1 commit intowolfSSL:masterfrom
holtrop:rust-dh-test-fix

Conversation

@holtrop
Copy link
Copy Markdown

@holtrop holtrop commented Oct 24, 2025

Description

test_dh_shared_secret() was occasionally failing if the public or private size returned was less than 32 bytes.

Testing

Ran Rust unit tests in a loop.

Checklist

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

@holtrop holtrop self-assigned this Oct 24, 2025
@holtrop holtrop marked this pull request as ready for review October 24, 2025 14:42
@holtrop holtrop assigned wolfSSL-Bot and unassigned holtrop Oct 24, 2025
Copy link
Copy Markdown
Member

@dgarske dgarske left a comment

Choose a reason for hiding this comment

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

Thanks for finding and fixing this intermittent DH test failure!

@dgarske dgarske merged commit c354202 into wolfSSL:master Oct 24, 2025
258 checks passed
@holtrop holtrop deleted the rust-dh-test-fix branch November 11, 2025 18:49
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