projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4294c8
)
Synchronise with 0.9.7-stable.
author
Richard Levitte
<levitte@openssl.org>
Mon, 29 Apr 2002 10:28:29 +0000
(10:28 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 29 Apr 2002 10:28:29 +0000
(10:28 +0000)
ssl/s3_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/s3_pkt.c
b/ssl/s3_pkt.c
index e411fb5a0380b5f180a84df9fa844df19b50d3b5..5e60e18972734d059f295f72517e84bb7f18cd78 100644
(file)
--- a/
ssl/s3_pkt.c
+++ b/
ssl/s3_pkt.c
@@
-245,7
+245,7
@@
static int ssl3_get_record(SSL *s)
extra=SSL3_RT_MAX_EXTRA;
else
extra=0;
extra=SSL3_RT_MAX_EXTRA;
else
extra=0;
- if (
(size_t)
extra != (s->s3->rbuf.len - SSL3_RT_MAX_PACKET_SIZE))
+ if (extra != (s->s3->rbuf.len - SSL3_RT_MAX_PACKET_SIZE))
{
/* actually likely an application error: SLS_OP_MICROSOFT_BIG_SSLV3_BUFFER
* set after ssl3_setup_buffers() was done */
{
/* actually likely an application error: SLS_OP_MICROSOFT_BIG_SSLV3_BUFFER
* set after ssl3_setup_buffers() was done */
@@
-605,7
+605,7
@@
static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
if (prefix_len <= 0)
goto err;
if (prefix_len <= 0)
goto err;
- if (s->s3->wbuf.len <
(size_t)
prefix_len + SSL3_RT_MAX_PACKET_SIZE)
+ if (s->s3->wbuf.len < prefix_len + SSL3_RT_MAX_PACKET_SIZE)
{
/* insufficient space */
SSLerr(SSL_F_DO_SSL3_WRITE, ERR_R_INTERNAL_ERROR);
{
/* insufficient space */
SSLerr(SSL_F_DO_SSL3_WRITE, ERR_R_INTERNAL_ERROR);