]> git.ipfire.org Git - thirdparty/openssl.git/commit
Encoder : Fix floating pointer when OSSL_ENCODER_to_data() is called
authorslontis <shane.lontis@oracle.com>
Tue, 25 Feb 2025 06:03:38 +0000 (17:03 +1100)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Thu, 27 Feb 2025 01:04:14 +0000 (12:04 +1100)
commitc2f4d7aae1c7c726eb1f8226d3d454dfd9754758
treea4c3e36933cd8054f0e5b61efa6eeeca8eae22e6
parent054f6c0fc15e9c11ec4a94b08a9528844005b449
Encoder : Fix floating pointer when OSSL_ENCODER_to_data() is called
twice.

Fixes #26862

This only happens when using the FIPS provider, since it needs to export
the key.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26891)
crypto/encode_decode/encoder_pkey.c
test/endecode_test.c