Go to file
Adam Langley ed8270a55c Fix crash as server when resuming with SNI.
Thanks to Denis Denisov for noting that |host_name| could be used while
uninitialised in the resumption case.

While in the area, this change also renames |servername_done| to
something more reasonable and removes a documented value that was never
used. Additionally, the SNI ack was only sent when not resuming so
calculating whether it should be sent when processing ClientHello
extensions (which is after s->hit has been set) is superfluous.

Lastly, since SNI is only acked by servers, there's no need to worry
about the SNI callback returning NOACK in the client case.

Change-Id: Ie4ecfc347bd7afaf93b12526ff9311cc45da4df6
Reviewed-on: https://boringssl-review.googlesource.com/1700
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2014-09-02 21:30:50 +00:00
crypto Export CBS_get_any_asn1_element. 2014-08-28 00:45:30 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Fix crash as server when resuming with SNI. 2014-09-02 21:30:50 +00:00
ssl Fix crash as server when resuming with SNI. 2014-09-02 21:30:50 +00:00
tool Add missing <errno.h> include. 2014-08-26 23:24:02 +00:00
util Add tests for pqueue 2014-09-02 20:09:23 +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 Increase minimum required cmake version 2014-08-18 17:23:37 +00:00
CMakeLists.txt Increase minimum required cmake version 2014-08-18 17:23:37 +00:00