Properly handle duplicated messages from the next epoch
authorMatt Caswell <matt@openssl.org>
Tue, 16 Oct 2018 16:08:11 +0000 (17:08 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 2 Nov 2018 10:00:14 +0000 (10:00 +0000)
commitf1e5009c1c95b708b9ba21c23693f95468089419
treeaced3cf076dd546a7ad16fc15ce2b3166f66948c
parent880d1c76ed9916cddb97fe05fb4c144f0f6f1012
Properly handle duplicated messages from the next epoch

Since 3884b47b7c we may attempt to buffer a record from the next epoch
that has already been buffered. Prior to that this never occurred.

We simply ignore a failure to buffer a duplicated record.

Fixes #6902

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7415)
ssl/d1_pkt.c