summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-10-15 16:49:13 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-10-15 16:49:13 +0000
commitc773edb1ad8431a4a5fb000d74d4bf0617ee40f8 (patch)
tree9a491e35142c7388f81e23b749ea392c4ccfa426 /regress/lib
parentc45cdb632d6b2032363c6d74aa0b044b744b7134 (diff)
Pull in ssl_locl.h so that we can keep reaching into libssl internals.
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libssl/ssl/Makefile3
-rw-r--r--regress/lib/libssl/ssl/ssltest.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/regress/lib/libssl/ssl/Makefile b/regress/lib/libssl/ssl/Makefile
index 581341c3105..582dd1c8af7 100644
--- a/regress/lib/libssl/ssl/Makefile
+++ b/regress/lib/libssl/ssl/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.3 2014/07/08 15:53:53 jsing Exp $
+# $OpenBSD: Makefile,v 1.4 2021/10/15 16:49:12 jsing Exp $
PROG= ssltest
LDADD= -lcrypto -lssl
DPADD= ${LIBCRYPTO} ${LIBSSL}
WARNINGS= Yes
CFLAGS+= -DLIBRESSL_INTERNAL -Werror
+CFLAGS+= -I${.CURDIR}/../../../../lib/libssl
REGRESS_TARGETS=regress-ssltest
diff --git a/regress/lib/libssl/ssl/ssltest.c b/regress/lib/libssl/ssl/ssltest.c
index ba62bb6e708..f5203b07139 100644
--- a/regress/lib/libssl/ssl/ssltest.c
+++ b/regress/lib/libssl/ssl/ssltest.c
@@ -176,6 +176,8 @@
#include <openssl/dh.h>
#include <openssl/bn.h>
+#include "ssl_locl.h"
+
#define TEST_SERVER_CERT "../apps/server.pem"
#define TEST_CLIENT_CERT "../apps/client.pem"