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:
a661b65
)
Call msg_callback with correct length parameter if ssl3_write_bytes had to
author
Bodo Möller
<bodo@openssl.org>
Sat, 20 Oct 2001 18:56:01 +0000
(18:56 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Sat, 20 Oct 2001 18:56:01 +0000
(18:56 +0000)
be called multiple times
ssl/s3_both.c
patch
|
blob
|
history
diff --git
a/ssl/s3_both.c
b/ssl/s3_both.c
index fa84077f68317cbfb632bc84fb92d5dc082a056b..c69e8d230830ed35c86da181473b54774211bb0c 100644
(file)
--- a/
ssl/s3_both.c
+++ b/
ssl/s3_both.c
@@
-135,7
+135,7
@@
int ssl3_do_write(SSL *s, int type)
if (ret == s->init_num)
{
if (s->msg_callback)
- s->msg_callback(1, s->version, type, s->init_buf->data, (size_t)
s->init_num
, s, s->msg_callback_arg);
+ s->msg_callback(1, s->version, type, s->init_buf->data, (size_t)
(s->init_off + s->init_num)
, s, s->msg_callback_arg);
return(1);
}
s->init_off+=ret;