summaryrefslogtreecommitdiffstats
path: root/keymaster0_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keymaster0_engine.cpp')
-rw-r--r--keymaster0_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/keymaster0_engine.cpp b/keymaster0_engine.cpp
index d752ae2..70c0d89 100644
--- a/keymaster0_engine.cpp
+++ b/keymaster0_engine.cpp
@@ -191,7 +191,7 @@ RSA* Keymaster0Engine::BlobToRsaKey(const KeymasterKeyBlob& blob) const {
EC_KEY* Keymaster0Engine::BlobToEcKey(const KeymasterKeyBlob& blob) const {
// Create new EC key (with engine methods) and insert blob
- unique_ptr<EC_KEY, EC_KEY_Delete> ec_key(EC_KEY_new_method(engine_));
+ unique_ptr<EC_KEY, EC_Delete> ec_key(EC_KEY_new_method(engine_));
if (!ec_key)
return nullptr;
@@ -204,7 +204,7 @@ EC_KEY* Keymaster0Engine::BlobToEcKey(const KeymasterKeyBlob& blob) const {
if (!pkey)
return nullptr;
- unique_ptr<EC_KEY, EC_KEY_Delete> public_ec_key(EVP_PKEY_get1_EC_KEY(pkey.get()));
+ unique_ptr<EC_KEY, EC_Delete> public_ec_key(EVP_PKEY_get1_EC_KEY(pkey.get()));
if (!public_ec_key)
return nullptr;