commit | af19de31018421c3deea655dacca64211a6eb327 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Sun Jan 11 19:50:31 2015 -0500 |
committer | Adam Langley <agl@google.com> | Wed Jan 14 21:48:40 2015 +0000 |
tree | 9c992ec0db1245b06c7dd88ed21eb70e141b7c88 | |
parent | 17a5f85cbbb8e637af0abfccfd8f21eb1054c9a3 [diff] |
Fix the test async_bio in datagram mode. write_quota should only be decremented by 1 in datagram mode, otherwise we'll underflow and always allow writes through. This does not cause any existing tests to fail. (It will be useful once the bug in dtls1_do_write is fixed.) Change-Id: I42aa001d7264790a3726269890635f679497fb1c Reviewed-on: https://boringssl-review.googlesource.com/2831 Reviewed-by: Adam Langley <agl@google.com>