diff options
author | tb <> | 2022-07-24 10:52:51 +0000 |
---|---|---|
committer | tb <> | 2022-07-24 10:52:51 +0000 |
commit | a686a30b94111310bb722a43dfa16c498201047c (patch) | |
tree | 73663f72c63e0a16eb70a2ac904c21b062e2d6f1 /src/lib/libssl/tls13_record_layer.c | |
parent | 2fafe1cde355b3cfbb3b49badb99d5597b3f3fa5 (diff) | |
download | openbsd-a686a30b94111310bb722a43dfa16c498201047c.tar.gz openbsd-a686a30b94111310bb722a43dfa16c498201047c.tar.bz2 openbsd-a686a30b94111310bb722a43dfa16c498201047c.zip |
Rely on tlsext_parse() to set a decode_error alert
Instead of setting the alert manually in various parse handlers, we can
make use of the fact that tlsext_parse() sets the alert to decode_error
by default. This simplifies the code quite a bit.
ok jsing
Diffstat (limited to 'src/lib/libssl/tls13_record_layer.c')
0 files changed, 0 insertions, 0 deletions