diff options
author | tb <> | 2022-07-24 10:52:51 +0000 |
---|---|---|
committer | tb <> | 2022-07-24 10:52:51 +0000 |
commit | d7c47c20d5f183b9417a79c956e0563e69e243cc (patch) | |
tree | 73663f72c63e0a16eb70a2ac904c21b062e2d6f1 /src/lib/libssl/ssl_locl.h | |
parent | c6dd71252b6c9201b8a8d7cf63bdace12547b030 (diff) | |
download | openbsd-d7c47c20d5f183b9417a79c956e0563e69e243cc.tar.gz openbsd-d7c47c20d5f183b9417a79c956e0563e69e243cc.tar.bz2 openbsd-d7c47c20d5f183b9417a79c956e0563e69e243cc.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/ssl_locl.h')
0 files changed, 0 insertions, 0 deletions