commit | 94180e708ff9496f7b3bc6bfe50bdaab7226ba34 | [log] [tgz] |
---|---|---|
author | Joe Subbiani <joe.subbiani@arm.com> | Fri Aug 20 16:20:44 2021 +0100 |
committer | Joe Subbiani <joe.subbiani@arm.com> | Fri Aug 20 16:20:44 2021 +0100 |
tree | e91e1297db45e380fa57f6392203981ebf8b8471 | |
parent | e4603eece9aa216190edb5edd0dd3f51cf47df48 [diff] [blame] |
Minor coding style improvement Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
diff --git a/library/ssl_srv.c b/library/ssl_srv.c index 1841b55..b8c4314 100644 --- a/library/ssl_srv.c +++ b/library/ssl_srv.c
@@ -2638,8 +2638,7 @@ if( ext_len > 0 ) { MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); - p += 2; - p += ext_len; + p += 2 + ext_len; } ssl->out_msglen = p - buf;