summaryrefslogtreecommitdiff
path: root/regress/lib/libtls/tls/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libtls/tls/Makefile')
-rw-r--r--regress/lib/libtls/tls/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/regress/lib/libtls/tls/Makefile b/regress/lib/libtls/tls/Makefile
new file mode 100644
index 00000000000..61285faab10
--- /dev/null
+++ b/regress/lib/libtls/tls/Makefile
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile,v 1.1 2017/01/12 15:50:16 jsing Exp $
+
+PROG= tlstest
+LDADD= -lcrypto -lssl -ltls
+DPADD= ${LIBCRYPTO} ${LIBSSL} ${LIBTLS}
+
+WARNINGS= Yes
+CFLAGS+= -Werror
+
+REGRESS_TARGETS= \
+ regress-tlstest
+
+regress-tlstest: ${PROG}
+ ./tlstest \
+ ${.CURDIR}/../../libssl/certs/server.pem \
+ ${.CURDIR}/../../libssl/certs/server.pem \
+ ${.CURDIR}/../../libssl/certs/ca.pem
+
+.include <bsd.regress.mk>