summaryrefslogtreecommitdiffstats
path: root/include/internal/quic_record_rx.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-11-17 17:03:00 +0100
committerHugo Landau <hlandau@openssl.org>2023-01-13 14:20:16 +0100
commit6292519cd8102983e9924b6b0d3f298ac5f93e80 (patch)
tree4165c88c36ad9f44df8f5e8526054cd93daccca8 /include/internal/quic_record_rx.h
parentQUIC: make update (diff)
downloadopenssl-6292519cd8102983e9924b6b0d3f298ac5f93e80.tar.xz
openssl-6292519cd8102983e9924b6b0d3f298ac5f93e80.zip
QUIC: Enable building with QUIC support disabled
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19703)
Diffstat (limited to 'include/internal/quic_record_rx.h')
-rw-r--r--include/internal/quic_record_rx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/quic_record_rx.h b/include/internal/quic_record_rx.h
index 5e0429f773..2a8a5bca10 100644
--- a/include/internal/quic_record_rx.h
+++ b/include/internal/quic_record_rx.h
@@ -16,6 +16,8 @@
# include "internal/quic_record_util.h"
# include "internal/quic_demux.h"
+# ifndef OPENSSL_NO_QUIC
+
/*
* QUIC Record Layer - RX
* ======================
@@ -532,4 +534,6 @@ uint64_t ossl_qrx_get_cur_forged_pkt_count(OSSL_QRX *qrx);
uint64_t ossl_qrx_get_max_forged_pkt_count(OSSL_QRX *qrx,
uint32_t enc_level);
+# endif
+
#endif