summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_lib.c
diff options
context:
space:
mode:
authortb <>2022-07-24 10:52:51 +0000
committertb <>2022-07-24 10:52:51 +0000
commita686a30b94111310bb722a43dfa16c498201047c (patch)
tree73663f72c63e0a16eb70a2ac904c21b062e2d6f1 /src/lib/libssl/tls13_lib.c
parent2fafe1cde355b3cfbb3b49badb99d5597b3f3fa5 (diff)
downloadopenbsd-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_lib.c')
0 files changed, 0 insertions, 0 deletions