Go to file
David Benjamin 95fcaa4f4b Fix server-side ClientHello state machine.
- DTLS server code didn't account for the new ClientHello state. This looks
  like it only matters if a DTLS server uses select_certificate_cb and returns
  asynchronously.

- State A transitions immediately to B and is redundant. No code distinguishes
  A and B.

- The ssl_get_message call transitions to the second state (originally C). This
  makes the explicit transition to C a no-op. More of a problem,
  ssl_get_message may return asynchronously and remain in its second state if the
  handshake body had not completed yet. Fix this by splitting state C in two.
  Combined with the above change, this results in only the top few states getting
  reshuffled.

This fixes the server async tests.

Change-Id: I46703bcd205988b118217b6424ba4f88e731be5a
Reviewed-on: https://boringssl-review.googlesource.com/1412
Reviewed-by: Adam Langley <agl@google.com>
2014-08-05 18:07:13 +00:00
crypto Fix C99-ism in bio_test.c. 2014-08-04 22:34:50 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Fix BIO_printf crash on Mac. 2014-08-04 21:11:21 +00:00
ssl Fix server-side ClientHello state machine. 2014-08-05 18:07:13 +00:00
tool Add stitched RC4-MD5 as an AEAD. 2014-06-30 23:01:17 +00:00
util Add AES Key Wrap mode. 2014-07-28 21:32:39 +00:00
.clang-format Inital import. 2014-06-20 13:17:32 -07:00
.gitignore Inital import. 2014-06-20 13:17:32 -07:00
BUILDING Add visibility rules. 2014-07-31 22:03:11 +00:00
CMakeLists.txt Add visibility rules. 2014-07-31 22:03:11 +00:00