mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
f6aa577412
The code to ensure that an EVP_PKEY is exported to providers is repeated all over the place, enough that copying it again has the usual future hazards with code copying. Instead, we refactor that code into one function, evp_pkey_make_provided(), and make sure to use that everywhere. It relies on the creation of EVP_PKEY_CTX to figure out facts about the input key, should it need to. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10850) |
||
---|---|---|
.. | ||
man3 | ||
man7 |