Skip to content

Conversation

@stefanberger
Copy link
Owner

Fix the retrieval of the updated IV for when OpenSSL >= 3.0 is used. The previously used OSSL_PARAM_octet_ptr allocated a new buffer and then returned the IV but this newly allocated buffer did not make it back to the caller. We have to use OSSL_PARAM_octet_string instead to write the data into the buffer.

Resolves: #541

Fix the retrieval of the updated IV for when OpenSSL >= 3.0 is used.
The previously used OSSL_PARAM_octet_ptr allocated a new buffer and then
returned the IV but this newly allocated buffer did not make it back to
the caller. We have to use OSSL_PARAM_octet_string instead to write the
data into the buffer.

Resolves: #541
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
@stefanberger stefanberger merged commit 33c9ff0 into stable-0.10 Dec 29, 2025
4 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.

2 participants