]> git.ipfire.org Git - thirdparty/openssl.git/commit
Pass low level RSA objects to the default provider
authorMatt Caswell <matt@openssl.org>
Fri, 6 Feb 2026 14:51:42 +0000 (14:51 +0000)
committerTomas Mraz <tomas@openssl.org>
Fri, 13 Feb 2026 07:57:58 +0000 (08:57 +0100)
commit3db19c56ae08ea1ea455a42aa4c4b151405280a2
tree54072c377e8c92a397bd2dbbb4b01664f578425b
parentf0ecb93fc1393884692c491b2c6a460851eedf18
Pass low level RSA objects to the default provider

If a low level RSA object has been assigned a custom RSA_METHOD and is
then assigned to an EVP_PKEY object, then we still want the default
provider to use that RSA_METHOD. To ensure this occurs we pass the low
level object across the provider boundary. We can only get away with this
because it is the default provider.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Fri Feb 13 07:58:21 2026
(Merged from https://github.com/openssl/openssl/pull/29960)
crypto/evp/p_lib.c
include/internal/threads_common.h
providers/implementations/keymgmt/rsa_kmgmt.c