diff options
author | tb <> | 2022-01-07 09:07:00 +0000 |
---|---|---|
committer | tb <> | 2022-01-07 09:07:00 +0000 |
commit | a2af4ff53b93dd3f39fea5c402e3842c6d87bb0f (patch) | |
tree | 4dc781cc3f29d925f5ff12b5e1e0beff1a9bc3d3 | |
parent | 8d74ebda124d78459caefe10402685b3d761662a (diff) | |
download | openbsd-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/Makefile | 3 | ||||
-rw-r--r-- | src/regress/lib/libssl/dtls/dtlstest.c | 3 |
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 | ||
3 | PROG= dtlstest | 3 | PROG= dtlstest |
4 | LDADD= ${SSL_INT} -lcrypto | 4 | LDADD= ${SSL_INT} -lcrypto |
5 | DPADD= ${LIBSSL} ${LIBCRYPTO} | 5 | DPADD= ${LIBSSL} ${LIBCRYPTO} |
6 | WARNINGS= Yes | 6 | WARNINGS= Yes |
7 | CFLAGS+= -DLIBRESSL_INTERNAL -Werror | 7 | CFLAGS+= -DLIBRESSL_INTERNAL -Werror |
8 | CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/bio | ||
8 | CFLAGS+= -I${.CURDIR}/../../../../lib/libssl | 9 | CFLAGS+= -I${.CURDIR}/../../../../lib/libssl |
9 | 10 | ||
10 | REGRESS_TARGETS= \ | 11 | REGRESS_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 | ||
32 | const char *server_ca_file; | 33 | const char *server_ca_file; |