projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1afd8b3
)
typo
author
Bodo Möller
<bodo@openssl.org>
Fri, 2 Jul 1999 17:52:21 +0000
(17:52 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Fri, 2 Jul 1999 17:52:21 +0000
(17:52 +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 e65dfb203b8fc374a9a2c232a9d9a74f80c5839a..a1bb5bca4b8030259317961258338b74c632738f 100644
(file)
--- 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 6613e112c24e38eb02ce792f2a54ae703b05f4ed..7893d03123df324f7a3dd9e1c176315f4110000a 100644
(file)
--- 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);
}