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:
1af12ff
)
dtls1_write_bytes consumers expect amount of bytes written per call, not
author
Andy Polyakov
<appro@openssl.org>
Sun, 14 Sep 2008 17:57:03 +0000
(17:57 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 14 Sep 2008 17:57:03 +0000
(17:57 +0000)
overall [from HEAD].
PR: 1604
ssl/d1_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/d1_pkt.c
b/ssl/d1_pkt.c
index e206b34e74242ede489f24c09599f17fe7331e8d..b2765ba8019ff70e5c05f4ff82e3db7ad1347f96 100644
(file)
--- a/
ssl/d1_pkt.c
+++ b/
ssl/d1_pkt.c
@@
-1259,7
+1259,7
@@
int dtls1_write_bytes(SSL *s, int type, const void *buf_, int len)
else
s->s3->wnum += i;
- return
tot +
i;
+ return i;
}
int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len, int create_empty_fragment)