openssl: Also load EC keys from an ENGINE
This commit is contained in:
@@ -67,8 +67,9 @@ openssl_ec_private_key_t *openssl_ec_private_key_load(key_type_t type,
|
||||
* Wrap an EVP_PKEY object of type EVP_PKEY_EC
|
||||
*
|
||||
* @param key EVP_PKEY_EC key object (adopted)
|
||||
* @param engine whether the key was loaded via an engine
|
||||
* @return loaded key, NULL on failure
|
||||
*/
|
||||
private_key_t *openssl_ec_private_key_create(EVP_PKEY *key);
|
||||
private_key_t *openssl_ec_private_key_create(EVP_PKEY *key, bool engine);
|
||||
|
||||
#endif /** OPENSSL_EC_PRIVATE_KEY_H_ @}*/
|
||||
|
||||
Reference in New Issue
Block a user