Only use SSL_AD_* internally.
authorjsing <jsing@openbsd.org>
Fri, 11 Jun 2021 17:29:48 +0000 (17:29 +0000)
committerjsing <jsing@openbsd.org>
Fri, 11 Jun 2021 17:29:48 +0000 (17:29 +0000)
commit6650b941f6054303bee8f86550588759ecee749b
treef73f5434ab80e5fd0c29154979f22a18e1ad2214
parent8d466dd80c156a33c508154f83e1907ef7087e5c
Only use SSL_AD_* internally.

Due to hysterical raisins there are three different types of defines for
alerts. SSL3_AD_* are from SSLv3, TLS1_AD_* are from TLSv1.0 onwards and
SSL_AD_* currently map to either an SSL3_AD_* or TLS1_AD_* define.

Currently, all three of these are used in various places - switch to using
just SSL_AD_* values internally, as a first step in cleaning this up.

ok tb@
lib/libssl/d1_both.c
lib/libssl/ssl_stat.c
lib/libssl/ssl_tlsext.c