summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2017-01-09 12:34:03 +0000
committerjsing <>2017-01-09 12:34:03 +0000
commit8bf21b3aaeed1c3beca294973eb6fb7a5d409bb4 (patch)
tree7c5dbe65b555df7aa1dadcc3cc07bb61b9dba283
parent2150800616063fec8dc8bebe4ad92d5c93a05971 (diff)
downloadopenbsd-8bf21b3aaeed1c3beca294973eb6fb7a5d409bb4.tar.gz
openbsd-8bf21b3aaeed1c3beca294973eb6fb7a5d409bb4.tar.bz2
openbsd-8bf21b3aaeed1c3beca294973eb6fb7a5d409bb4.zip
Provide TLS_INT for consistency with libssl/libcrypto.
-rw-r--r--src/regress/lib/libtls/Makefile.inc2
-rw-r--r--src/regress/lib/libtls/verify/Makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/regress/lib/libtls/Makefile.inc b/src/regress/lib/libtls/Makefile.inc
new file mode 100644
index 0000000000..e693da81b4
--- /dev/null
+++ b/src/regress/lib/libtls/Makefile.inc
@@ -0,0 +1,2 @@
1# Use this variable when the test needs internal symbols from libtls
2TLS_INT= -Wl,-Bstatic -ltls -Wl,-Bdynamic
diff --git a/src/regress/lib/libtls/verify/Makefile b/src/regress/lib/libtls/verify/Makefile
index c66348a8a6..f8e445b7fc 100644
--- a/src/regress/lib/libtls/verify/Makefile
+++ b/src/regress/lib/libtls/verify/Makefile
@@ -1,7 +1,7 @@
1# $OpenBSD: Makefile,v 1.2 2016/11/04 17:51:54 guenther Exp $ 1# $OpenBSD: Makefile,v 1.3 2017/01/09 12:34:03 jsing Exp $
2 2
3PROG= verifytest 3PROG= verifytest
4LDADD= -lcrypto -lssl -Wl,-Bstatic -ltls -Wl,-Bdynamic 4LDADD= -lcrypto -lssl ${TLS_INT}
5DPADD= ${LIBCRYPTO} ${LIBSSL} ${LIBTLS} 5DPADD= ${LIBCRYPTO} ${LIBSSL} ${LIBTLS}
6 6
7WARNINGS= Yes 7WARNINGS= Yes