Welcome! Log In Create A New Profile


[nginx] QUIC: fixed OpenSSL compat layer with OpenSSL master branch.

Sergey Kandaurov
May 22, 2023 04:54PM
details: https://hg.nginx.org/nginx/rev/bddd3f76e3e5
changeset: 9113:bddd3f76e3e5
user: Sergey Kandaurov <pluknet@nginx.com>
date: Tue May 23 00:45:18 2023 +0400
QUIC: fixed OpenSSL compat layer with OpenSSL master branch.

The layer is enabled as a fallback if the QUIC support is configured and the
BoringSSL API wasn't detected, or when using the --with-openssl option, also
compatible with QuicTLS and LibreSSL. For the latter, the layer is assumed
to be present if QUIC was requested, so it needs to be undefined to prevent
QUIC API redefinition as appropriate.

A previously used approach to test the TLSEXT_TYPE_quic_transport_parameters
macro doesn't work with OpenSSL 3.2 master branch where this macro appeared
with incompatible QUIC API. To fix the build there, the test is revised to
pass only for QuicTLS and LibreSSL.


src/event/quic/ngx_event_quic_openssl_compat.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r d59277dd3d8c -r bddd3f76e3e5 src/event/quic/ngx_event_quic_openssl_compat.h
--- a/src/event/quic/ngx_event_quic_openssl_compat.h Mon May 22 15:59:42 2023 +0400
+++ b/src/event/quic/ngx_event_quic_openssl_compat.h Tue May 23 00:45:18 2023 +0400
@@ -7,7 +7,8 @@

-#ifdef TLSEXT_TYPE_quic_transport_parameters

nginx-devel mailing list
Subject Author Views Posted

[nginx] QUIC: fixed OpenSSL compat layer with OpenSSL master branch.

Sergey Kandaurov 273 May 22, 2023 04:54PM

Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready