From: tb Date: Fri, 7 Jan 2022 09:07:00 +0000 (+0000) Subject: Let dtlstest peek into bio_local.h X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=605fe30e8a467d4c80fca00e94d09e5a009af608;p=openbsd Let dtlstest peek into bio_local.h --- 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 * @@ -27,6 +27,7 @@ #include #include +#include "bio_local.h" #include "ssl_locl.h" const char *server_ca_file;