]> 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:42:15 +0000 (16:42 +0200)
commit424c3f84bec34427449f4ae9fcec5dc3f03b2ced
treefc6eca5dc5f1d73bc59c8801d8264d14dbfe9ebe
parent32661b9020586eacb0210838906cbda854613433
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)

(cherry picked from commit 663dbc9c9c897392a9f9d18aa9a8400ca024dc5d)
crypto/evp/pmeth_lib.c