Repository navigation
Minor cleanups to configure.ac, internal.c and test_tls13.c - #12260
Merged
Merged
Conversation
- configure.ac: keep the libz-not-found message on wrapped lines without a line break straight after the first sentence. - internal.c: explain why a MEMORY_E from copying a peer certificate is reported rather than left at 0 in ProcessPeerCerts(). - test_tls13.c: remove the stray leading space from every line of test_tls13_unknown_ext_rejected().
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the diagnostic, comment, and whitespace cleanups.
No open issues 🎉
What changed in this PR
This PR makes small diagnostic, comment, and whitespace cleanups in wolfSSL without changing TLS behavior.
Changes:
- Adjusts wrapping of the libz-not-found diagnostic.
- Explains why peer-certificate allocation failures must propagate as
MEMORY_E. - Removes stray leading spaces from the TLS 1.3 unknown-extension rejection test.
| File | Description |
|---|---|
tests/api/test_tls13.c |
Normalizes indentation in test_tls13_unknown_ext_rejected(); test logic is unchanged. |
src/internal.c |
Adds a comment explaining how reporting allocation failure avoids a misleading DECODE_E. |
configure.ac |
Moves the libz diagnostic’s line break so it no longer follows the first sentence. |
Review effort: Balanced
|
philljj
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Testing
Comment changes and extra spaces removed.