]> git.kaiwu.me - nginx.git/commit
QUIC: using native TLSv1.3 cipher suite constants.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 20 Oct 2022 12:21:05 +0000 (16:21 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 20 Oct 2022 12:21:05 +0000 (16:21 +0400)
commit00468d71bf8cdbec28a44c92f59c5edf42d7739c
tree323e850a9611463005b4c0b10de6cb1fdfd2a7a0
parentfcba3d14581342b94a5e8da50d853066447afbdb
QUIC: using native TLSv1.3 cipher suite constants.

After BoringSSL aligned[1] with OpenSSL on TLS1_3_CK_* macros, and
LibreSSL uses OpenSSL naming, our own variants can be dropped now.
Compatibility is preserved with libraries that lack these macros.

Additionally, transition to SSL_CIPHER_get_id() fixes build error
with LibreSSL that doesn't implement SSL_CIPHER_get_protocol_id().

[1] https://boringssl.googlesource.com/boringssl/+/dfddbc4ded
src/event/quic/ngx_event_quic_protection.c