aboutsummaryrefslogtreecommitdiff
path: root/ssl/ssl_sess.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-06-29 00:18:50 +0200
committerRich Salz <rsalz@openssl.org>2016-07-20 07:21:53 -0400
commite8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee (patch)
tree9112c06d1c60edbbe94b3407f33538a0f9bf1c97 /ssl/ssl_sess.c
parentc106eaa8ed7c24900e4367fc85cae1a77bc4e5ae (diff)
downloadopenssl-e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee.zip
openssl-e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee.tar.gz
openssl-e8aa8b6c8f6d4e2b2bbd5e5721d977b0a6aa3cee.tar.bz2
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 'ssl/ssl_sess.c')
-rw-r--r--ssl/ssl_sess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c
index 74250c2..44bc8a3 100644
--- a/ssl/ssl_sess.c
+++ b/ssl/ssl_sess.c
@@ -174,7 +174,7 @@ SSL_SESSION *ssl_session_dup(SSL_SESSION *src, int ticket)
}
#endif
- if(src->ciphers != NULL) {
+ if (src->ciphers != NULL) {
dest->ciphers = sk_SSL_CIPHER_dup(src->ciphers);
if (dest->ciphers == NULL)
goto err;
@@ -210,7 +210,7 @@ SSL_SESSION *ssl_session_dup(SSL_SESSION *src, int ticket)
if (ticket != 0) {
dest->tlsext_tick = OPENSSL_memdup(src->tlsext_tick, src->tlsext_ticklen);
- if(dest->tlsext_tick == NULL)
+ if (dest->tlsext_tick == NULL)
goto err;
} else {
dest->tlsext_tick_lifetime_hint = 0;