QUIC: localized OpenSSL headers used for QUIC protection.

This commit is contained in:
Sergey Kandaurov 2025-07-30 16:09:21 +04:00 committed by pluknet
parent 7f9ced0ce0
commit 4c9ae11dff
2 changed files with 6 additions and 8 deletions

View File

@ -26,14 +26,6 @@
#include <openssl/engine.h>
#endif
#include <openssl/evp.h>
#if (NGX_QUIC)
#ifdef OPENSSL_IS_BORINGSSL
#include <openssl/hkdf.h>
#include <openssl/chacha.h>
#else
#include <openssl/kdf.h>
#endif
#endif
#include <openssl/hmac.h>
#ifndef OPENSSL_NO_OCSP
#include <openssl/ocsp.h>

View File

@ -8,6 +8,12 @@
#include <ngx_core.h>
#include <ngx_event.h>
#include <ngx_event_quic_connection.h>
#ifdef OPENSSL_IS_BORINGSSL
#include <openssl/hkdf.h>
#include <openssl/chacha.h>
#else
#include <openssl/kdf.h>
#endif
/* RFC 9001, 5.4.1. Header Protection Application: 5-byte mask */