summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-07-12 22:18:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-07-12 22:18:00 +0000
commit3f9a1373e857c8ee131fa37be87516c367c9cbd4 (patch)
treeadc1463569fd441d58f53328780e277cd12c2df8 /lib/libssl
parent1f6f0c0012ab5abb88c3984babde9f52558af5a1 (diff)
remove double brackets. fixes build with clang.
ok jsing@
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/src/ssl/s3_clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/ssl/s3_clnt.c b/lib/libssl/src/ssl/s3_clnt.c
index 0e67aadd901..252100f587d 100644
--- a/lib/libssl/src/ssl/s3_clnt.c
+++ b/lib/libssl/src/ssl/s3_clnt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_clnt.c,v 1.81 2014/07/12 18:37:28 jsing Exp $ */
+/* $OpenBSD: s3_clnt.c,v 1.82 2014/07/12 22:17:59 jsg Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1000,7 +1000,7 @@ ssl3_get_server_certificate(SSL *s)
if (!ok)
return ((int)n);
- if ((s->s3->tmp.message_type == SSL3_MT_SERVER_KEY_EXCHANGE)) {
+ if (s->s3->tmp.message_type == SSL3_MT_SERVER_KEY_EXCHANGE) {
s->s3->tmp.reuse_message = 1;
return (1);
}