diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-06-29 00:18:50 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-20 07:21:53 -0400 |
commit | e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee (patch) | |
tree | 9112c06d1c60edbbe94b3407f33538a0f9bf1c97 /test | |
parent | c106eaa8ed7c24900e4367fc85cae1a77bc4e5ae (diff) |
Fix a few if(, for(, while( inside code.
Fix some indentation at the same time
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1292)
Diffstat (limited to 'test')
-rw-r--r-- | test/asynctest.c | 2 | ||||
-rw-r--r-- | test/verify_extra_test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/asynctest.c b/test/asynctest.c index 026536b065..5057ce1d46 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 cbc6d8cc80..cc05bc2ef1 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; } |