Don't skip over early_data if we sent an HRR
authorMatt Caswell <matt@openssl.org>
Wed, 18 Jul 2018 10:16:28 +0000 (11:16 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 19 Jul 2018 11:46:43 +0000 (12:46 +0100)
commit1c1e4160e069818a0f9ebf080f57ac5282ae1bff
tree4fa511e7c8416b659f7b3f33d7c703b32f5ae845
parent1c073b9521ce7dbdd5689bdf7ae5fa87557c3529
Don't skip over early_data if we sent an HRR

It is not valid to send early_data after an HRR has been received.

Fixes #6734

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6737)
ssl/statem/statem.c