diff options
author | Ben Laurie <ben@openssl.org> | 2010-06-12 14:13:23 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2010-06-12 14:13:23 +0000 |
commit | c8bbd98a2b0c2a5164c42f951cd2866512839b5a (patch) | |
tree | fe50b2de26e0f563ce0b21b88d80da407dbc7999 /engines/e_chil.c | |
parent | 57ae37a00388ca177d67d4cee8db167f7e27fc7c (diff) |
Fix warnings.
Diffstat (limited to 'engines/e_chil.c')
-rw-r--r-- | engines/e_chil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_chil.c b/engines/e_chil.c index 9c2729c96d..fdc2100e3d 100644 --- a/engines/e_chil.c +++ b/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); } |