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:
40f51f5
)
tlsext_ecpointformatlist_length is unsigned, so check if it's less
author
Richard Levitte
<levitte@openssl.org>
Wed, 15 Mar 2006 09:57:16 +0000
(09:57 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 15 Mar 2006 09:57:16 +0000
(09:57 +0000)
than zero will only result in pissing of some compilers...
ssl/t1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/t1_lib.c
b/ssl/t1_lib.c
index cdcc0598c2273a9d12df37ddc2af45691bd5ce3b..a46e573ff692d45cc2cb8a28b55c0bd47c0c0ff9 100644
(file)
--- a/
ssl/t1_lib.c
+++ b/
ssl/t1_lib.c
@@
-632,7
+632,7
@@
int ssl_check_serverhello_tlsext(SSL *s)
size_t i;
unsigned char *list;
int found_uncompressed = 0;
- if ((s->session->tlsext_ecpointformatlist == NULL) || (s->session->tlsext_ecpointformatlist_length
<
= 0))
+ if ((s->session->tlsext_ecpointformatlist == NULL) || (s->session->tlsext_ecpointformatlist_length
=
= 0))
{
SSLerr(SSL_F_TLS1_CHECK_SERVERHELLO_TLSEXT,SSL_R_TLS_INVALID_ECPOINTFORMAT_LIST);
return -1;