summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-07 09:07:01 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-07 09:07:01 +0000
commitdd4d963ff809c129ddd9e174a7857312f7039fd9 (patch)
tree14defce0cfb3cd2b7a00ea0dd2784b17cae4d4b4 /regress
parentcfaff9ceceace6d718348763840ff85e2f5a66f8 (diff)
Let dtlstest peek into bio_local.h
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libssl/dtls/Makefile3
-rw-r--r--regress/lib/libssl/dtls/dtlstest.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/regress/lib/libssl/dtls/Makefile b/regress/lib/libssl/dtls/Makefile
index 79ca4077d35..438cd5c7ff5 100644
--- a/regress/lib/libssl/dtls/Makefile
+++ b/regress/lib/libssl/dtls/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2021/06/19 17:11:34 jsing Exp $
+# $OpenBSD: Makefile,v 1.3 2022/01/07 09:07:00 tb Exp $
PROG= dtlstest
LDADD= ${SSL_INT} -lcrypto
DPADD= ${LIBSSL} ${LIBCRYPTO}
WARNINGS= Yes
CFLAGS+= -DLIBRESSL_INTERNAL -Werror
+CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/bio
CFLAGS+= -I${.CURDIR}/../../../../lib/libssl
REGRESS_TARGETS= \
diff --git a/regress/lib/libssl/dtls/dtlstest.c b/regress/lib/libssl/dtls/dtlstest.c
index 08424c1a4ba..18df9952b2b 100644
--- a/regress/lib/libssl/dtls/dtlstest.c
+++ b/regress/lib/libssl/dtls/dtlstest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dtlstest.c,v 1.14 2021/06/19 18:28:51 tb Exp $ */
+/* $OpenBSD: dtlstest.c,v 1.15 2022/01/07 09:07:00 tb Exp $ */
/*
* Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org>
*
@@ -27,6 +27,7 @@
#include <openssl/err.h>
#include <openssl/ssl.h>
+#include "bio_local.h"
#include "ssl_locl.h"
const char *server_ca_file;