Make sure we remember how much data we sent in the event of a retry
authorMatt Caswell <matt@openssl.org>
Mon, 23 Oct 2023 08:54:16 +0000 (09:54 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Oct 2023 16:37:19 +0000 (17:37 +0100)
commitb9b9f4886f87abd39535721243d4297fd45e558a
tree76533f9ce0f7fd16149769407c67cca05b44eca9
parent86e11b1e78ad6937ef32d64ca34013306c9abc28
Make sure we remember how much data we sent in the event of a retry

If a retry occurs we need to reset s->rlayer.wnum so that next time around
we remember how much data we already sent.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22473)
ssl/record/rec_layer_s3.c