aboutsummaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-06-07 10:54:42 -0400
committerRich Salz <rsalz@openssl.org>2016-06-07 11:08:33 -0400
commit56989dcd0e208dcad204e85367a20fab2a45e2f8 (patch)
treea3272547426c2ab95408f8766ab9a6852335eed4 /engines
parent47ae05ba6288c831a9aa4282f9cce40372e79ea9 (diff)
downloadopenssl-56989dcd0e208dcad204e85367a20fab2a45e2f8.tar.gz
Fix some GitHub issues.
GH1180: Local variable sometimes unused GH1181: Missing close paren. Thanks to <wipedout@yandex.ru> for reporting these. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'engines')
-rw-r--r--engines/e_chil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_chil.c b/engines/e_chil.c
index c660aa97b7..8d81b46fec 100644
--- a/engines/e_chil.c
+++ b/engines/e_chil.c
@@ -641,7 +641,7 @@ static int hwcrhk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void))
CRYPTO_THREAD_write_lock(chil_lock);
BIO_free(logstream);
logstream = NULL;
- if (BIO_up_ref(bio)
+ if (BIO_up_ref(bio))
logstream = bio;
else
HWCRHKerr(HWCRHK_F_HWCRHK_CTRL, HWCRHK_R_BIO_WAS_FREED);