Go to file
David Benjamin ccf74f8085 Revise SSL_cutthrough_complete and SSL_in_init.
This makes the following changes:

- SSL_cutthrough_complete no longer rederives whether cutthrough happened and
  just maintains a handshake bit.

- SSL_in_init no longer returns true if we are False Starting but haven't
  completed the handshake. That logic was awkward as it depended on querying
  in_read_app_data to force SSL_read to flush the entire handshake. Defaulting
  SSL_in_init to continue querying the full handshake and special-casing
  SSL_write is better. E.g. the check in bidirectional SSL_shutdown wants to know
  if we're in a handshake. No internal consumer of
  SSL_MODE_HANDSHAKE_CUTTHROUGH ever queries SSL_in_init directly.

- in_read_app_data is gone now that the final use is dead.

Change-Id: I05211a116d684054dfef53075cd277b1b30623b5
Reviewed-on: https://boringssl-review.googlesource.com/3336
Reviewed-by: Adam Langley <agl@google.com>
2015-02-09 20:00:43 +00:00
crypto Fix some unchecked mallocs. 2015-02-09 19:39:41 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Revise SSL_cutthrough_complete and SSL_in_init. 2015-02-09 20:00:43 +00:00
ssl Revise SSL_cutthrough_complete and SSL_in_init. 2015-02-09 20:00:43 +00:00
tool Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
util Add unit-tests for PBKDF2. 2015-01-28 20:48:17 +00:00
.clang-format Inital import. 2014-06-20 13:17:32 -07:00
.gitignore Add generated documentation to .gitignore 2015-01-26 18:37:55 +00:00
BUILDING Honor the standard BUILD_SHARED_LIBS cmake variable. 2015-01-28 20:40:10 +00:00
CMakeLists.txt Enable more warnings & treat warnings as errors on Windows. 2015-01-31 00:18:55 +00:00
codereview.settings Add a codereview.settings file. 2014-11-18 22:21:33 +00:00
STYLE Add a style guide. 2015-01-28 01:12:05 +00:00