Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 6613e112c2..7893d03123 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -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);
}