Skip to content

Minor cleanups to configure.ac, internal.c and test_tls13.c - #12260

Merged
philljj merged 1 commit into
wolfSSL:masterfrom
SparkiDev:fix-misc-cleanups
Nov 26, 2026
Merged

philljj merged 1 commit into
wolfSSL:masterfrom
SparkiDev:fix-misc-cleanups

Conversation

@SparkiDev

Copy link
Copy Markdown
Contributor

Description

  • 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().

Testing

Comment changes and extra spaces removed.

- 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().
@SparkiDev SparkiDev self-assigned this Nov 25, 2026
Copilot AI balanced review requested due to automatic review settings November 25, 2026 00:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 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

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

MemBrowse Memory Report · Explore what changed →

zephyr-frdm_rw612

  • FLASH: datas +16 B, log_const_area -8 B, rodata +108 B, text +13,816 B (+4.9%, 296,396 B / 67,108,864 B, total: 0% used)
  • RAM: bss +49 B, datas +16 B (+0.1%, 58,423 B / 983,040 B, total: 6% used)

No memory changes detected for:


Catch memory regressions in CI with MemBrowse. Free for open source.

@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev Nov 26, 2026
@philljj philljj self-assigned this Nov 26, 2026
@philljj
philljj merged commit 56b4d64 into wolfSSL:master Nov 26, 2026
446 of 448 checks passed
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