diff options
author | jsing <> | 2017-01-12 15:50:16 +0000 |
---|---|---|
committer | jsing <> | 2017-01-12 15:50:16 +0000 |
commit | ea2fc622f755c1cf27c685f2777e7663c9f28e1f (patch) | |
tree | a5bf164635aba5d7c1499a248a4bea87fdf81865 /src/regress/lib/libtls/tls/Makefile | |
parent | 4947258c8e735049c8bbdd076c4d73100c0a08a2 (diff) | |
download | openbsd-ea2fc622f755c1cf27c685f2777e7663c9f28e1f.tar.gz openbsd-ea2fc622f755c1cf27c685f2777e7663c9f28e1f.tar.bz2 openbsd-ea2fc622f755c1cf27c685f2777e7663c9f28e1f.zip |
Add regress tests for libtls, which currently cover handshakes and closes
using callbacks, file descriptors and sockets.
Diffstat (limited to 'src/regress/lib/libtls/tls/Makefile')
-rw-r--r-- | src/regress/lib/libtls/tls/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/regress/lib/libtls/tls/Makefile b/src/regress/lib/libtls/tls/Makefile new file mode 100644 index 0000000000..61285faab1 --- /dev/null +++ b/src/regress/lib/libtls/tls/Makefile | |||
@@ -0,0 +1,19 @@ | |||
1 | # $OpenBSD: Makefile,v 1.1 2017/01/12 15:50:16 jsing Exp $ | ||
2 | |||
3 | PROG= tlstest | ||
4 | LDADD= -lcrypto -lssl -ltls | ||
5 | DPADD= ${LIBCRYPTO} ${LIBSSL} ${LIBTLS} | ||
6 | |||
7 | WARNINGS= Yes | ||
8 | CFLAGS+= -Werror | ||
9 | |||
10 | REGRESS_TARGETS= \ | ||
11 | regress-tlstest | ||
12 | |||
13 | regress-tlstest: ${PROG} | ||
14 | ./tlstest \ | ||
15 | ${.CURDIR}/../../libssl/certs/server.pem \ | ||
16 | ${.CURDIR}/../../libssl/certs/server.pem \ | ||
17 | ${.CURDIR}/../../libssl/certs/ca.pem | ||
18 | |||
19 | .include <bsd.regress.mk> | ||