Convert dtls_write_records() to return the correct return values
authorMatt Caswell <matt@openssl.org>
Thu, 6 Oct 2022 14:58:08 +0000 (15:58 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 20 Oct 2022 13:39:32 +0000 (14:39 +0100)
commit4cdd198ec204a4c2ec6b3ec728ebcc8af04abc86
tree0e7448bf6f5496ebfa8ba46b808f12e84485c05d
parentbf04cbfafe77ddc67f1a9c06ffb044f9bf44057c
Convert dtls_write_records() to return the correct return values

We now use standard record layer return values for this function. We
also convert the code to use RLAYERfatal instead of SSLfatal.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19424)
ssl/record/methods/dtls_meth.c
ssl/record/rec_layer_d1.c