]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix regression of EVP_PKEY_CTX_add1_hkdf_info() with older providers
authorTomas Mraz <tomas@openssl.org>
Mon, 17 Jun 2024 14:48:26 +0000 (16:48 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 21 Jun 2024 14:41:33 +0000 (16:41 +0200)
commit663dbc9c9c897392a9f9d18aa9a8400ca024dc5d
tree5061e5de38f1337254df2eb476a693b8630d535d
parentaf82623d32962b3eff5b0f0b0dedec5eb730b231
Fix regression of EVP_PKEY_CTX_add1_hkdf_info() with older providers

If there is no get_ctx_params() implemented in the key exchange
provider implementation the fallback will not work. Instead
check the gettable_ctx_params() to see if the fallback should be
performed.

Fixes #24611

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/24661)
crypto/evp/pmeth_lib.c