aboutsummaryrefslogtreecommitdiff
path: root/crypto/async/arch/async_posix.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-11-12 11:50:38 +0000
committerMatt Caswell <matt@openssl.org>2015-11-20 23:37:17 +0000
commite38565f536b7674ef507564b5c646712b1d7eed4 (patch)
tree05e23dc2c04c195a1c2cac94f9a153e80847e97d /crypto/async/arch/async_posix.c
parent625146d9fbb74651e6158af7db0e76b899c39c9e (diff)
downloadopenssl-e38565f536b7674ef507564b5c646712b1d7eed4.zip
openssl-e38565f536b7674ef507564b5c646712b1d7eed4.tar.gz
openssl-e38565f536b7674ef507564b5c646712b1d7eed4.tar.bz2
Fix some style issues
There were a number of places where the async code did not conform to the OpenSSL coding style. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/async/arch/async_posix.c')
-rw-r--r--crypto/async/arch/async_posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/async/arch/async_posix.c b/crypto/async/arch/async_posix.c
index 814930f..78bf61c 100644
--- a/crypto/async/arch/async_posix.c
+++ b/crypto/async/arch/async_posix.c
@@ -76,7 +76,8 @@ int async_fibre_init(async_fibre *fibre)
{
void *stack = NULL;
- if (!(stack = OPENSSL_malloc(STACKSIZE))) {
+ stack = OPENSSL_malloc(STACKSIZE);
+ if (stack == NULL) {
return 0;
}