projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15658d0
)
Fix cast of boolean where cast of LHS intended.
author
Juli Mallett
<juli@clockworksquid.com>
Mon, 21 Apr 2014 21:30:09 +0000
(14:30 -0700)
committer
Ben Laurie
<ben@links.org>
Mon, 26 May 2014 12:16:12 +0000
(13:16 +0100)
Closes #74.
ssl/t1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/t1_lib.c
b/ssl/t1_lib.c
index 9308aedc3959f30e85d775492f4c1702c5ba4acf..0ba37da0a07c7059aa9b100ccd8fcecdb183f75d 100644
(file)
--- 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;