From e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Wed, 29 Jun 2016 00:18:50 +0200 Subject: Fix a few if(, for(, while( inside code. Fix some indentation at the same time Reviewed-by: Matt Caswell Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/1292) --- test/asynctest.c | 2 +- test/verify_extra_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/asynctest.c b/test/asynctest.c index 026536b..5057ce1 100644 --- a/test/asynctest.c +++ b/test/asynctest.c @@ -56,7 +56,7 @@ static int waitfd(void *args) waitctx = ASYNC_get_wait_ctx(job); if (waitctx == NULL) return 0; - if(!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) + if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) return 0; ASYNC_pause_job(); diff --git a/test/verify_extra_test.c b/test/verify_extra_test.c index cbc6d8c..cc05bc2 100644 --- a/test/verify_extra_test.c +++ b/test/verify_extra_test.c @@ -122,7 +122,7 @@ static int test_alt_chains_cert_forgery(const char *roots_f, i = X509_verify_cert(sctx); - if(i == 0 && X509_STORE_CTX_get_error(sctx) == X509_V_ERR_INVALID_CA) { + if (i == 0 && X509_STORE_CTX_get_error(sctx) == X509_V_ERR_INVALID_CA) { /* This is the result we were expecting: Test passed */ ret = 1; } -- cgit v1.1