diff options
author | KaoruToda <kunnpuu@gmail.com> | 2017-10-09 13:05:58 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-10-09 14:17:09 +0200 |
commit | 208fb891e36f16d20262710c70ef0ff3df0e885c (patch) | |
tree | 514e6161c7c21122fced736efaddd87f5b5e0538 /crypto/dso/dso_win32.c | |
parent | Document that lhash isn't thread safe under any circumstances and (diff) | |
download | openssl-208fb891e36f16d20262710c70ef0ff3df0e885c.tar.xz openssl-208fb891e36f16d20262710c70ef0ff3df0e885c.zip |
Since return is inconsistent, I removed unnecessary parentheses and
unified them.
- return (0); -> return 0;
- return (1); -> return 1;
- return (-1); -> return -1;
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4500)
Diffstat (limited to 'crypto/dso/dso_win32.c')
-rw-r--r-- | crypto/dso/dso_win32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c index 5f50774bb8..f3aadc699e 100644 --- a/crypto/dso/dso_win32.c +++ b/crypto/dso/dso_win32.c @@ -120,7 +120,7 @@ static int win32_load(DSO *dso) } /* Success */ dso->loaded_filename = filename; - return (1); + return 1; err: /* Cleanup ! */ OPENSSL_free(filename); @@ -138,7 +138,7 @@ static int win32_unload(DSO *dso) return (0); } if (sk_void_num(dso->meth_data) < 1) - return (1); + return 1; p = sk_void_pop(dso->meth_data); if (p == NULL) { DSOerr(DSO_F_WIN32_UNLOAD, DSO_R_NULL_HANDLE); @@ -154,7 +154,7 @@ static int win32_unload(DSO *dso) } /* Cleanup */ OPENSSL_free(p); - return (1); + return 1; } static DSO_FUNC_TYPE win32_bind_func(DSO *dso, const char *symname) |