From 11b1adadbda749568b28ea50ab0a0379dde864aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Fri, 2 Jul 1999 17:52:21 +0000 Subject: [PATCH] typo --- ssl/s2_pkt.c | 2 +- ssl/s3_pkt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ssl/s2_pkt.c b/ssl/s2_pkt.c index e65dfb203b..a1bb5bca4b 100644 --- a/ssl/s2_pkt.c +++ b/ssl/s2_pkt.c @@ -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); } 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); } -- 2.25.1