diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2020-06-01 19:53:13 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-06-01 19:53:13 +0300 |
commit | 0a11fdbb28d2efaaf2a541c321d4c5566bf1fbe5 (patch) | |
tree | 41c8f85d9aa4213b1e8581e93c4391636cc79719 /auto/lib | |
parent | 59782257222b7a08cace201456cf2886b2a98067 (diff) | |
download | nginx-0a11fdbb28d2efaaf2a541c321d4c5566bf1fbe5.tar.gz nginx-0a11fdbb28d2efaaf2a541c321d4c5566bf1fbe5.zip |
Compatibility with BoringSSL master branch.
Recently BoringSSL introduced SSL_set_quic_early_data_context()
that serves as an additional constrain to enable 0-RTT in QUIC.
Relevant changes:
* https://boringssl.googlesource.com/boringssl/+/7c52299%5E!/
* https://boringssl.googlesource.com/boringssl/+/8519432%5E!/
Diffstat (limited to 'auto/lib')
-rw-r--r-- | auto/lib/openssl/conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf index 046317f8a..f4dcab725 100644 --- a/auto/lib/openssl/conf +++ b/auto/lib/openssl/conf @@ -167,3 +167,15 @@ END fi fi + + +if [ $USE_OPENSSL_QUIC = YES ]; then + ngx_feature="OpenSSL QUIC 0-RTT context" + ngx_feature_name="NGX_OPENSSL_QUIC_ZRTT_CTX" + ngx_feature_run=no + ngx_feature_incs="#include <openssl/ssl.h>" + ngx_feature_path= + ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL $NGX_LIBPTHREAD" + ngx_feature_test="SSL_set_quic_early_data_context(NULL, NULL, 0)" + . auto/feature +fi |