summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dtls_mtu_test.c1
-rw-r--r--test/helpers/handshake.c1
-rw-r--r--test/ssl_handshake_rtt_test.c1
-rw-r--r--test/sslapitest.c1
-rw-r--r--test/sslbuffertest.c6
-rw-r--r--test/tls13secretstest.c1
6 files changed, 11 insertions, 0 deletions
diff --git a/test/dtls_mtu_test.c b/test/dtls_mtu_test.c
index b11d5e3461..bce96a2226 100644
--- a/test/dtls_mtu_test.c
+++ b/test/dtls_mtu_test.c
@@ -19,6 +19,7 @@
/* for SSL_READ_ETM() */
#include "../ssl/ssl_local.h"
+#include "internal/ssl_unwrap.h"
static int debug = 0;
diff --git a/test/helpers/handshake.c b/test/helpers/handshake.c
index e0422469e4..0d26a5948b 100644
--- a/test/helpers/handshake.c
+++ b/test/helpers/handshake.c
@@ -15,6 +15,7 @@
#include <openssl/core_names.h>
#include "../../ssl/ssl_local.h"
+#include "internal/ssl_unwrap.h"
#include "internal/sockets.h"
#include "internal/nelem.h"
#include "handshake.h"
diff --git a/test/ssl_handshake_rtt_test.c b/test/ssl_handshake_rtt_test.c
index 0e54284f04..9958124ca1 100644
--- a/test/ssl_handshake_rtt_test.c
+++ b/test/ssl_handshake_rtt_test.c
@@ -30,6 +30,7 @@
#include "internal/ktls.h"
#include "../ssl/ssl_local.h"
#include "../ssl/statem/statem_local.h"
+#include "internal/ssl_unwrap.h"
static OSSL_LIB_CTX *libctx = NULL;
static char *cert = NULL;
diff --git a/test/sslapitest.c b/test/sslapitest.c
index 0b2d7b5e6d..bce7d2cbf4 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -41,6 +41,7 @@
#include "internal/nelem.h"
#include "internal/tlsgroups.h"
#include "internal/ktls.h"
+#include "internal/ssl_unwrap.h"
#include "../ssl/ssl_local.h"
#include "../ssl/record/methods/recmethod_local.h"
#include "filterprov.h"
diff --git a/test/sslbuffertest.c b/test/sslbuffertest.c
index 94229d54d6..bac4c580e7 100644
--- a/test/sslbuffertest.c
+++ b/test/sslbuffertest.c
@@ -13,11 +13,17 @@
#include <openssl/bio.h>
#include <openssl/err.h>
+#ifndef OPENSSL_NO_QUIC
+/* This test does not link libssl so avoid pulling in QUIC unwrappers. */
+# define OPENSSL_NO_QUIC
+#endif
+
/* We include internal headers so we can check if the buffers are allocated */
#include "../ssl/ssl_local.h"
#include "../ssl/record/record_local.h"
#include "internal/recordmethod.h"
#include "../ssl/record/methods/recmethod_local.h"
+#include "internal/ssl_unwrap.h"
#include "internal/packet.h"
diff --git a/test/tls13secretstest.c b/test/tls13secretstest.c
index 352c1898ad..1238c31b4b 100644
--- a/test/tls13secretstest.c
+++ b/test/tls13secretstest.c
@@ -11,6 +11,7 @@
#include <openssl/evp.h>
#include "../ssl/ssl_local.h"
+#include "internal/ssl_unwrap.h"
#include "testutil.h"
#define IVLEN 12