Skip to content

wolfssl: proof use of wolfSSL_i2d_SSL_SESSION - #20008

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:wolfssl-session-i2d-fix
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:wolfssl-session-i2d-fix

Conversation

@icing

@icing icing commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

While wolfSSL_i2d_SSL_SESSION() does not change the passed pointer, like OpenSSL does, it may one day decide to do so. Pass a copy instead to be future-proof to such a change in wolfSSL's implementation.

While wolfSSL_i2d_SSL_SESSION() does not change the passed pointer,
like OpenSSL does, it may one day decide to do so. Pass a copy
instead to be future-proof to such a change in wolfSSL's implementation.
@icing icing added the TLS label Dec 17, 2025
@bagder bagder closed this in be3c226 Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants