commit | 6c2563e241bc077f4bcd500fadff4ae420abc297 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Fri Apr 03 03:47:47 2015 -0400 |
committer | Adam Langley <agl@google.com> | Mon Apr 06 17:52:20 2015 +0000 |
tree | e53454dc12614cdf0605018d977323c4c42fc942 | |
parent | 1c633159a75f5231733953c2eadc8a5c852e962a [diff] |
Refactor async logic in bssl_shim slightly. Move the state to TestState rather than passing pointers to them everywhere. Also move SSL_read and SSL_write retry loops into helper functions so they aren't repeated everywhere. This also makes the SSL_write calls all consistently account for partial writes. Change-Id: I9bc083a03da6a77ab2fc03c29d4028435fc02620 Reviewed-on: https://boringssl-review.googlesource.com/4214 Reviewed-by: Adam Langley <agl@google.com>