aboutsummaryrefslogtreecommitdiff
path: root/openssl/engines/e_chil.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/engines/e_chil.c')
-rw-r--r--openssl/engines/e_chil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/engines/e_chil.c b/openssl/engines/e_chil.c
index 9c2729c96..fdc2100e3 100644
--- a/openssl/engines/e_chil.c
+++ b/openssl/engines/e_chil.c
@@ -1077,11 +1077,11 @@ static int hwcrhk_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
static int hwcrhk_rsa_finish(RSA *rsa)
{
HWCryptoHook_RSAKeyHandle *hptr;
- int ret;
+
hptr = RSA_get_ex_data(rsa, hndidx_rsa);
if (hptr)
{
- ret = p_hwcrhk_RSAUnloadKey(*hptr, NULL);
+ p_hwcrhk_RSAUnloadKey(*hptr, NULL);
OPENSSL_free(hptr);
RSA_set_ex_data(rsa, hndidx_rsa, NULL);
}