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 /include | |
parent | c106eaa8ed7c24900e4367fc85cae1a77bc4e5ae (diff) | |
download | openssl-e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee.tar.gz |
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 'include')
-rw-r--r-- | include/openssl/engine.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/openssl/engine.h b/include/openssl/engine.h index b1e5c1f7d2..21c6961286 100644 --- a/include/openssl/engine.h +++ b/include/openssl/engine.h @@ -696,7 +696,7 @@ typedef unsigned long (*dynamic_v_check_fn) (unsigned long ossl_version); # define IMPLEMENT_DYNAMIC_CHECK_FN() \ OPENSSL_EXPORT unsigned long v_check(unsigned long v); \ OPENSSL_EXPORT unsigned long v_check(unsigned long v) { \ - if(v >= OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION; \ + if (v >= OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION; \ return 0; } /* @@ -724,13 +724,13 @@ typedef int (*dynamic_bind_engine) (ENGINE *e, const char *id, int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns); \ OPENSSL_EXPORT \ int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { \ - if(ENGINE_get_static_state() == fns->static_state) goto skip_cbs; \ - CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \ - fns->mem_fns.realloc_fn, \ - fns->mem_fns.free_fn); \ + if (ENGINE_get_static_state() == fns->static_state) goto skip_cbs; \ + CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \ + fns->mem_fns.realloc_fn, \ + fns->mem_fns.free_fn); \ skip_cbs: \ - if(!fn(e,id)) return 0; \ - return 1; } + if (!fn(e, id)) return 0; \ + return 1; } /* * If the loading application (or library) and the loaded ENGINE library |