diff options
-rw-r--r-- | misc/GNUmakefile | 2 | ||||
-rw-r--r-- | src/event/quic/ngx_event_quic.h | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/misc/GNUmakefile b/misc/GNUmakefile index 724014ab0..22eed135f 100644 --- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -110,7 +110,7 @@ zip: export cp -p $(OBJS)/lib/$(OPENSSL)/LICENSE.txt \ $(TEMP)/$(NGINX)/docs/OpenSSL.LICENSE - cp -p $(OBJS)/lib/$(PCRE)/LICENCE \ + cp -p $(OBJS)/lib/$(PCRE)/LICENCE.md \ $(TEMP)/$(NGINX)/docs/PCRE.LICENCE sed -ne '/^ (C) 1995-20/,/^ jloup@gzip\.org/p' \ diff --git a/src/event/quic/ngx_event_quic.h b/src/event/quic/ngx_event_quic.h index 335d87191..bab085f46 100644 --- a/src/event/quic/ngx_event_quic.h +++ b/src/event/quic/ngx_event_quic.h @@ -12,11 +12,8 @@ #include <ngx_core.h> -#ifdef OSSL_RECORD_PROTECTION_LEVEL_NONE -#ifndef NGX_QUIC_OPENSSL_API -#define NGX_QUIC_BORINGSSL_API 1 -#define NGX_QUIC_OPENSSL_COMPAT 1 -#endif +#if (OPENSSL_VERSION_NUMBER >= 0x30500010L) +#define NGX_QUIC_OPENSSL_API 1 #elif (defined SSL_R_MISSING_QUIC_TRANSPORT_PARAMETERS_EXTENSION) #define NGX_QUIC_QUICTLS_API 1 |