summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-10-10 15:42:33 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-10-10 15:42:33 +0000
commit79350850f694e1801afae0321709da112c7b94a6 (patch)
tree30a13ae51d4ce1961c3f146f63f2b74275e5fe24
parent0a01d58a069ce1619f08cf1a88167ac60e7b22ea (diff)
((remove) (some) (unnecessary) (parentheses))
Part of a diff from doug@
-rw-r--r--lib/libssl/ssl_clnt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/ssl_clnt.c b/lib/libssl/ssl_clnt.c
index dce5a7d008f..6343ec276d6 100644
--- a/lib/libssl/ssl_clnt.c
+++ b/lib/libssl/ssl_clnt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_clnt.c,v 1.19 2017/10/10 15:13:26 jsing Exp $ */
+/* $OpenBSD: ssl_clnt.c,v 1.20 2017/10/10 15:42:32 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -678,10 +678,10 @@ ssl3_client_hello(SSL *s)
}
s->client_version = s->version = max_version;
- if ((sess == NULL) ||
- (sess->ssl_version != s->version) ||
+ if (sess == NULL ||
+ sess->ssl_version != s->version ||
(!sess->session_id_length && !sess->tlsext_tick) ||
- (sess->internal->not_resumable)) {
+ sess->internal->not_resumable) {
if (!ssl_get_new_session(s, 0))
goto err;
}