Call post_process_record for dtls records

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22239)
This commit is contained in:
Frederik Wedel-Heinen 2023-10-02 09:58:30 +02:00 committed by Pauli
parent 515856f5ce
commit 1d3f266446

View File

@ -568,6 +568,11 @@ int dtls_get_more_records(OSSL_RECORD_LAYER *rl)
goto again; /* get another record */
}
if (rl->funcs->post_process_record && !rl->funcs->post_process_record(rl, rr)) {
/* RLAYERfatal already called */
return OSSL_RECORD_RETURN_FATAL;
}
rl->num_recs = 1;
return OSSL_RECORD_RETURN_SUCCESS;
}