summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-01-07 09:07:00 +0000
committertb <>2022-01-07 09:07:00 +0000
commita2af4ff53b93dd3f39fea5c402e3842c6d87bb0f (patch)
tree4dc781cc3f29d925f5ff12b5e1e0beff1a9bc3d3
parent8d74ebda124d78459caefe10402685b3d761662a (diff)
downloadopenbsd-a2af4ff53b93dd3f39fea5c402e3842c6d87bb0f.tar.gz
openbsd-a2af4ff53b93dd3f39fea5c402e3842c6d87bb0f.tar.bz2
openbsd-a2af4ff53b93dd3f39fea5c402e3842c6d87bb0f.zip
Let dtlstest peek into bio_local.h
-rw-r--r--src/regress/lib/libssl/dtls/Makefile3
-rw-r--r--src/regress/lib/libssl/dtls/dtlstest.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/dtls/Makefile b/src/regress/lib/libssl/dtls/Makefile
index 79ca4077d3..438cd5c7ff 100644
--- a/src/regress/lib/libssl/dtls/Makefile
+++ b/src/regress/lib/libssl/dtls/Makefile
@@ -1,10 +1,11 @@
1# $OpenBSD: Makefile,v 1.2 2021/06/19 17:11:34 jsing Exp $ 1# $OpenBSD: Makefile,v 1.3 2022/01/07 09:07:00 tb Exp $
2 2
3PROG= dtlstest 3PROG= dtlstest
4LDADD= ${SSL_INT} -lcrypto 4LDADD= ${SSL_INT} -lcrypto
5DPADD= ${LIBSSL} ${LIBCRYPTO} 5DPADD= ${LIBSSL} ${LIBCRYPTO}
6WARNINGS= Yes 6WARNINGS= Yes
7CFLAGS+= -DLIBRESSL_INTERNAL -Werror 7CFLAGS+= -DLIBRESSL_INTERNAL -Werror
8CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/bio
8CFLAGS+= -I${.CURDIR}/../../../../lib/libssl 9CFLAGS+= -I${.CURDIR}/../../../../lib/libssl
9 10
10REGRESS_TARGETS= \ 11REGRESS_TARGETS= \
diff --git a/src/regress/lib/libssl/dtls/dtlstest.c b/src/regress/lib/libssl/dtls/dtlstest.c
index 08424c1a4b..18df9952b2 100644
--- a/src/regress/lib/libssl/dtls/dtlstest.c
+++ b/src/regress/lib/libssl/dtls/dtlstest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dtlstest.c,v 1.14 2021/06/19 18:28:51 tb Exp $ */ 1/* $OpenBSD: dtlstest.c,v 1.15 2022/01/07 09:07:00 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -27,6 +27,7 @@
27#include <openssl/err.h> 27#include <openssl/err.h>
28#include <openssl/ssl.h> 28#include <openssl/ssl.h>
29 29
30#include "bio_local.h"
30#include "ssl_locl.h" 31#include "ssl_locl.h"
31 32
32const char *server_ca_file; 33const char *server_ca_file;