Update state machine to send CCS based on whether we did an HRR
authorMatt Caswell <matt@openssl.org>
Mon, 13 Nov 2017 11:24:51 +0000 (11:24 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 14 Dec 2017 15:06:37 +0000 (15:06 +0000)
commitfc7129dc37f38022382338cf37cee795d975450f
tree5421f62439bbae70443f8a352508413a039bb00f
parent6f40214f68d06820304e6f9a4c60099a1fbce10c
Update state machine to send CCS based on whether we did an HRR

The CCS may be sent at different times based on whether or not we
sent an HRR earlier. In order to make that decision this commit
also updates things to make sure we remember whether an HRR was
used or not.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4701)
ssl/record/ssl3_record.c
ssl/ssl_locl.h
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_srvr.c
ssl/statem/statem_clnt.c
ssl/statem/statem_lib.c
ssl/statem/statem_srvr.c