Dedup dtls1_dispatch_alert()/ssl3_dispatch_alert().
authorjsing <jsing@openbsd.org>
Mon, 26 Jul 2021 03:17:38 +0000 (03:17 +0000)
committerjsing <jsing@openbsd.org>
Mon, 26 Jul 2021 03:17:38 +0000 (03:17 +0000)
commite3dbb073b25060ac8b7195211e31d70b2546951f
tree79b56a4f437382ee86859c58cda00954910f5838
parent78617c59c89332c0d685b9510cde3bfa91c80173
Dedup dtls1_dispatch_alert()/ssl3_dispatch_alert().

The code for dtls1_dispatch_alert() and ssl3_dispatch_alert() is largely
identical - with a bit of reshuffling we can use ssl3_dispatch_alert() for
both protocols and remove the ssl_dispatch_alert function pointer.

ok inoguchi@ tb@
lib/libssl/d1_pkt.c
lib/libssl/dtls_locl.h
lib/libssl/s3_lib.c
lib/libssl/ssl_locl.h
lib/libssl/ssl_methods.c
lib/libssl/ssl_pkt.c