QUIC: localized OpenSSL headers used for QUIC protection.

pull/908/head
Sergey Kandaurov 5 months ago committed by pluknet
parent 7f9ced0ce0
commit 4c9ae11dff
  1. 8
      src/event/ngx_event_openssl.h
  2. 6
      src/event/quic/ngx_event_quic_protection.c

@ -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>

@ -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 */

Loading…
Cancel
Save