summaryrefslogtreecommitdiffstats
path: root/ssl/record
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2017-08-26 17:56:44 +0200
committerFdaSilvaYY <fdasilvayy@gmail.com>2017-11-07 17:09:24 +0100
commitf479eab2271c06d73d2e473ce47b0fc6ab742cef (patch)
tree1aeb6d0a6cf4ca64c060104fc2e9a440bbfaa208 /ssl/record
parent89635075d84353fc0c3d44a82fd0903ccd4ab24a (diff)
style : fix some if(...
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/4457)
Diffstat (limited to 'ssl/record')
-rw-r--r--ssl/record/rec_layer_s3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c
index d10b91b24f..c1101a6735 100644
--- a/ssl/record/rec_layer_s3.c
+++ b/ssl/record/rec_layer_s3.c
@@ -920,8 +920,8 @@ int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
* This will be at most one cipher block or the tag length if using
* AEAD. SSL_RT_MAX_CIPHER_BLOCK_SIZE covers either case.
*/
- if(!WPACKET_reserve_bytes(thispkt, SSL_RT_MAX_CIPHER_BLOCK_SIZE,
- NULL)
+ if (!WPACKET_reserve_bytes(thispkt, SSL_RT_MAX_CIPHER_BLOCK_SIZE,
+ NULL)
/*
* We also need next the amount of bytes written to this
* sub-packet