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:
5fda10c
)
Stop warning of signed/unsigned compare.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 14 Jul 2009 15:28:44 +0000
(15:28 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 14 Jul 2009 15:28:44 +0000
(15:28 +0000)
ssl/s3_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/s3_pkt.c
b/ssl/s3_pkt.c
index 928755c82a67c7f97d87c443eb5190d38ce05f9f..febc2860e1f49defac832249a4d7ce3d0fef1108 100644
(file)
--- a/
ssl/s3_pkt.c
+++ b/
ssl/s3_pkt.c
@@
-208,7
+208,7
@@
int ssl3_read_n(SSL *s, int n, int max, int extend)
rb->offset = len + align;
}
- if (n >
rb->len - rb->offset
) /* does not happen */
+ if (n >
(int)(rb->len - rb->offset)
) /* does not happen */
{
SSLerr(SSL_F_SSL3_READ_N,ERR_R_INTERNAL_ERROR);
return -1;
@@
-221,7
+221,7
@@
int ssl3_read_n(SSL *s, int n, int max, int extend)
{
if (max < n)
max = n;
- if (max >
rb->len - rb->offset
)
+ if (max >
(int)(rb->len - rb->offset)
)
max = rb->len - rb->offset;
}