]> 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)
committerTomas Mraz <tomas@openssl.org>
Fri, 28 Feb 2025 12:57:48 +0000 (13:57 +0100)
commit76d1ffb6f12ccce33ea2c3a1753591a1c69f53b4
treea6d109ddd68aff67ef5682e3d5c5c1c4cc2758c5
parent812fc0be0fdd0fe3b57fddcb355a704687904853
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)

(cherry picked from commit c2f4d7aae1c7c726eb1f8226d3d454dfd9754758)
crypto/encode_decode/encoder_pkey.c
test/endecode_test.c