comparison auto/lib/openssl/conf @ 8853:7603284f7af5 quic

Removed NGX_OPENSSL_QUIC macro, NGX_QUIC is enough.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 14 Sep 2021 12:09:13 +0300
parents 062080651d50
children 678d1c7a3003
comparison
equal deleted inserted replaced
8852:8fc9c7f2c533 8853:7603284f7af5
143 143
144 144
145 if [ $USE_OPENSSL_QUIC = YES ]; then 145 if [ $USE_OPENSSL_QUIC = YES ]; then
146 146
147 ngx_feature="OpenSSL QUIC support" 147 ngx_feature="OpenSSL QUIC support"
148 ngx_feature_name="NGX_OPENSSL_QUIC" 148 ngx_feature_name="NGX_QUIC"
149 ngx_feature_run=no 149 ngx_feature_run=no
150 ngx_feature_incs="#include <openssl/ssl.h>" 150 ngx_feature_incs="#include <openssl/ssl.h>"
151 ngx_feature_path= 151 ngx_feature_path=
152 ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL $NGX_LIBPTHREAD" 152 ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL $NGX_LIBPTHREAD"
153 ngx_feature_test="SSL_set_quic_method(NULL, NULL)" 153 ngx_feature_test="SSL_set_quic_method(NULL, NULL)"
163 with nginx by using --with-openssl=<path> option. 163 with nginx by using --with-openssl=<path> option.
164 164
165 END 165 END
166 exit 1 166 exit 1
167 fi 167 fi
168
169 have=NGX_QUIC . auto/have
170 fi 168 fi
171 169
172 170
173 if [ $USE_OPENSSL_QUIC = YES ]; then 171 if [ $USE_OPENSSL_QUIC = YES ]; then
174 ngx_feature="OpenSSL QUIC 0-RTT context" 172 ngx_feature="OpenSSL QUIC 0-RTT context"