This commit is contained in:
Bodo Möller 1999-07-02 17:52:21 +00:00
parent 1afd8b3942
commit 11b1adadbd
2 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ int ssl2_write(SSL *s, const void *_buf, int len)
return(i);
}
if ((i == (int)n) ||
(s->mode | SSL_MODE_ENABLE_PARTIAL_WRITE))
(s->mode & SSL_MODE_ENABLE_PARTIAL_WRITE))
{
return(tot+i);
}

View File

@ -470,7 +470,7 @@ int ssl3_write_bytes(SSL *s, int type, const void *_buf, int len)
if ((i == (int)n) ||
(type == SSL3_RT_APPLICATION_DATA &&
(s->mode | SSL_MODE_ENABLE_PARTIAL_WRITE)))
(s->mode & SSL_MODE_ENABLE_PARTIAL_WRITE)))
{
return(tot+i);
}