summaryrefslogtreecommitdiffstats
path: root/engines/e_chil.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-06-15 17:25:15 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-06-15 17:25:15 +0000
commite97359435ee15e6d2c0580c76a58040e8dc3ce60 (patch)
tree01c3ecc781efc58b6efb927129cdfe511644a3d5 /engines/e_chil.c
parentafce9bcca15bbf4a015d3f678cec5501ca1092eb (diff)
Fix warnings (From HEAD, original patch by Ben).
Diffstat (limited to 'engines/e_chil.c')
-rw-r--r--engines/e_chil.c4
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);
}