Skip to content

Conversation

@prbprbprb
Copy link
Contributor

@prbprbprb prbprbprb commented Nov 8, 2025

  • Naming improvements
  • Comments
  • "success" cases use a common method with the same signature as wrap() and hopefully clearer intent
  • All source data buffers are made read-only to catch any accidental modification

When testing preconditions which should pass, reset the source
data each time and check that wrap succeeds end to end.

Also make source data read-only to ensure it's never mofidied.
@prbprbprb prbprbprb changed the title SSLEngine wrap precondition test, better buffer management. Test improvements for SSLEngine wrap preconditions Nov 24, 2025
@prbprbprb
Copy link
Contributor Author

Apologies for the slow turnaround, hopefully this PR is now more acceptable.

@juergw juergw merged commit 8febe49 into google:master Nov 24, 2025
1 check passed
@prbprbprb prbprbprb deleted the wrap_preconditions branch November 24, 2025 15:13
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.

2 participants