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:
42e4532
)
fix warning
author
Bodo Möller
<bodo@openssl.org>
Mon, 6 May 2002 10:42:56 +0000
(10:42 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 6 May 2002 10:42:56 +0000
(10:42 +0000)
ssl/s3_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/s3_pkt.c
b/ssl/s3_pkt.c
index 293f91dfc15a1e4264881a4912d6eeb24524c605..f52303c7c3e0d171f2c31d0a0d6848c801d019b7 100644
(file)
--- a/
ssl/s3_pkt.c
+++ b/
ssl/s3_pkt.c
@@
-604,7
+604,7
@@
static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
if (prefix_len <= 0)
goto err;
- if (s->s3->wbuf_len < prefix_len + SSL3_RT_MAX_PACKET_SIZE)
+ if (s->s3->wbuf_len <
(size_t)
prefix_len + SSL3_RT_MAX_PACKET_SIZE)
{
/* insufficient space */
SSLerr(SSL_F_DO_SSL3_WRITE, SSL_R_INTERNAL_ERROR);