summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-02-03 13:50:23 +0100
committerPauli <ppzgs1@gmail.com>2021-02-05 15:53:29 +1000
commitf4a3799cc45cb986d5920403b3e0471678fee020 (patch)
treeb384cdedc7955627fb20ddfc88f37671ac11c970 /util
parent7dc67708c8ae6ec06c7fec34781225ed60b5e68d (diff)
EVP: Make EVP_PKEY_set_params() increment the dirty count
When the internal key is changed, we must count it as muted, so that next time the affected key is considered for an operation, it gets re-exported to the signing provider. In other words, this will clear the EVP_PKEY export cache when the next export attempt occurs. This also updates evp_keymgmt_util_export_to_provider() to actually look at the dirty count for provider native origin keys, and act appropriately. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14056)
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions