Skip to content

mbedtls: use ssh2_zero_free() where applicable - #2563

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:mbed-use-ssh2-zero-free
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:mbed-use-ssh2-zero-free

Conversation

@vszakats

Copy link
Copy Markdown
Member

Follow-up to a2ac6bd #2544

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

Replaces manual secure-zero/free cleanup in the mbedTLS backend with the session-aware helper.

Changes:

  • Simplifies ECDSA public-key failure cleanup.
  • Simplifies private-key parsing buffer cleanup.

💡 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 b15d84b Aug 29, 2026
@vszakats
vszakats deleted the mbed-use-ssh2-zero-free branch August 29, 2026 00:19
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