summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_sess.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-21 23:56:21 +0000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:38:49 +0000
commit47050853f13b07f91b5b4a058dcb188621296f21 (patch)
treeb39655bc64f7214931b5c9bfe3d3406a38bef145 /ssl/ssl_sess.c
parent10621efd3296a92f489f6ab26a88e88d9790930e (diff)
Rerun util/openssl-format-source -v -c .OpenSSL_1_0_1-post-auto-reformat
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'ssl/ssl_sess.c')
-rw-r--r--ssl/ssl_sess.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c
index 4c230b0c2f..74c1d1537f 100644
--- a/ssl/ssl_sess.c
+++ b/ssl/ssl_sess.c
@@ -505,8 +505,7 @@ int ssl_get_prev_session(SSL *s, unsigned char *session_id, int len,
if (try_session_cache &&
ret == NULL &&
- !(s->
- session_ctx->session_cache_mode &
+ !(s->session_ctx->session_cache_mode &
SSL_SESS_CACHE_NO_INTERNAL_LOOKUP)) {
SSL_SESSION data;
data.ssl_version = s->version;
@@ -547,8 +546,7 @@ int ssl_get_prev_session(SSL *s, unsigned char *session_id, int len,
* well if and only if we are supposed to.
*/
if (!
- (s->
- session_ctx->session_cache_mode &
+ (s->session_ctx->session_cache_mode &
SSL_SESS_CACHE_NO_INTERNAL_STORE))
/*
* The following should not return 1, otherwise, things are