aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorJuli Mallett <juli@clockworksquid.com>2014-04-21 14:30:09 -0700
committerBen Laurie <ben@links.org>2014-05-26 13:16:12 +0100
commit487dac87e36ff2d80302494c4f0837de6e321081 (patch)
tree7b34e4f9b8b1ef4ba6ca0214f56204bed3b46da7 /ssl
parent15658d0cbf51ae32f7c9d0d3dc1eac36e220a167 (diff)
downloadopenssl-487dac87e36ff2d80302494c4f0837de6e321081.tar.gz
Fix cast of boolean where cast of LHS intended.
Closes #74.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 9308aedc39..0ba37da0a0 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -1353,7 +1353,7 @@ unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned cha
{
size_t col = s->s3->client_opaque_prf_input_len;
- if ((long)(limit - ret - 6 - col < 0))
+ if ((long)(limit - ret - 6 - col) < 0)
return NULL;
if (col > 0xFFFD) /* can't happen */
return NULL;