Let dtlstest peek into bio_local.h
authortb <tb@openbsd.org>
Fri, 7 Jan 2022 09:07:00 +0000 (09:07 +0000)
committertb <tb@openbsd.org>
Fri, 7 Jan 2022 09:07:00 +0000 (09:07 +0000)
regress/lib/libssl/dtls/Makefile
regress/lib/libssl/dtls/dtlstest.c

index 79ca407..438cd5c 100644 (file)
@@ -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= \
index 08424c1..18df995 100644 (file)
@@ -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;