Commit 1d43b6f
committed
client_msg_cb: Pass correct size to SSL_read_ex()
The amount of space remaining is "buf->size - buf->len" not
"buf->size". The non-TLS path already used the correct size.
Thanks to Joshua Rogers for finding this.1 parent 41c4b82 commit 1d43b6f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | | - | |
| 1046 | + | |
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
| |||
0 commit comments