projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e105643
)
typo
author
Bodo Möller
<bodo@openssl.org>
Fri, 2 Jul 1999 14:23:33 +0000
(14:23 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Fri, 2 Jul 1999 14:23:33 +0000
(14:23 +0000)
ssl/s2_pkt.c
patch
|
blob
|
history
ssl/s3_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/s2_pkt.c
b/ssl/s2_pkt.c
index 39d8010bdeccd24a5a25f5539462abf1cbad6130..e65dfb203b8fc374a9a2c232a9d9a74f80c5839a 100644
(file)
--- a/
ssl/s2_pkt.c
+++ b/
ssl/s2_pkt.c
@@
-412,7
+412,7
@@
static int write_pending(SSL *s, const unsigned char *buf, unsigned int len)
* write */
if ((s->s2->wpend_tot > (int)len) ||
((s->s2->wpend_buf != buf) &&
* write */
if ((s->s2->wpend_tot > (int)len) ||
((s->s2->wpend_buf != buf) &&
-
(!
s->mode & SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER)))
+
!(
s->mode & SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER)))
{
SSLerr(SSL_F_WRITE_PENDING,SSL_R_BAD_WRITE_RETRY);
return(-1);
{
SSLerr(SSL_F_WRITE_PENDING,SSL_R_BAD_WRITE_RETRY);
return(-1);
diff --git
a/ssl/s3_pkt.c
b/ssl/s3_pkt.c
index c9dc7cc6160ed2cb2060cbb6a2743d555f01c1ab..6613e112c24e38eb02ce792f2a54ae703b05f4ed 100644
(file)
--- a/
ssl/s3_pkt.c
+++ b/
ssl/s3_pkt.c
@@
-603,7
+603,7
@@
static int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
/* XXXX */
if ((s->s3->wpend_tot > (int)len)
|| ((s->s3->wpend_buf != buf) &&
/* XXXX */
if ((s->s3->wpend_tot > (int)len)
|| ((s->s3->wpend_buf != buf) &&
-
(!
s->mode & SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER))
+
!(
s->mode & SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER))
|| (s->s3->wpend_type != type))
{
SSLerr(SSL_F_SSL3_WRITE_PENDING,SSL_R_BAD_WRITE_RETRY);
|| (s->s3->wpend_type != type))
{
SSLerr(SSL_F_SSL3_WRITE_PENDING,SSL_R_BAD_WRITE_RETRY);