modify evp_pkey free

Signed-off-by: wang-yaya1117 <601214707@qq.com>
This commit is contained in:
wang-yaya1117 2021-06-07 20:51:54 +08:00
parent bd4ccead83
commit 61b103c494

View File

@ -273,7 +273,6 @@ int32_t GetEvpKey(const struct HksBlob *keyBlob, EVP_PKEY *key, bool private)
EC_KEY_free(eccKey);
return HKS_FAILURE;
}
EC_KEY_free(eccKey);
return HKS_SUCCESS;
}