]> git.feebdaed.xyz Git - 0xmirror/curl.git/commit
wolfssl: proof use of wolfSSL_i2d_SSL_SESSION
authorStefan Eissing <stefan@eissing.org>
Wed, 17 Dec 2025 10:20:42 +0000 (11:20 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 17 Dec 2025 12:52:59 +0000 (13:52 +0100)
commitbe3c226bb0c4b73879a6dffbb35f60065a48a9a2
tree9320c32ac43164f6de8c1c220c0fb87d3b499dfd
parentde8470c6e5d58c9630c414e60103d3154b4806dc
wolfssl: proof use of wolfSSL_i2d_SSL_SESSION

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.

Closes #20008
lib/vtls/wolfssl.c