projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
For consistency, set s->init_num in the 'reuse_message' case
[openssl.git]
/
ssl
/
s3_both.c
diff --git
a/ssl/s3_both.c
b/ssl/s3_both.c
index 409120badecd960ac7b7dc0b3c0a933e1e197b2f..8e840ec7c97c0c37202ee2b257b0f776661ba9e3 100644
(file)
--- a/
ssl/s3_both.c
+++ b/
ssl/s3_both.c
@@
-357,7
+357,8
@@
long ssl3_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok)
}
*ok=1;
s->init_msg = s->init_buf->data + 4;
- return((int)s->s3->tmp.message_size);
+ s->init_num = (int)s->s3->tmp.message_size;
+ return s->init_num;
}
p=(unsigned char *)s->init_buf->data;