Skip to content

mbedtls: drop local mbed_zero_free() function - #2553

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:mbed-zero-drop
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:mbed-zero-drop

Conversation

@vszakats

Copy link
Copy Markdown
Member

Only a single caller remained after recent updates.

Follow-up to 62a2a7e #2552
Follow-up to 420dbba #2550

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes the single-use mbed_zero_free() helper by inlining secure zeroing and deallocation at its remaining call site.

Changes:

  • Deletes the local helper.
  • Preserves secure buffer clearing before mbedtls_free().

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@vszakats vszakats closed this in 8ada619 Aug 28, 2026
@vszakats
vszakats deleted the mbed-zero-drop branch August 28, 2026 00:39
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