diff options
author | jsing <> | 2017-01-09 12:34:03 +0000 |
---|---|---|
committer | jsing <> | 2017-01-09 12:34:03 +0000 |
commit | 8bf21b3aaeed1c3beca294973eb6fb7a5d409bb4 (patch) | |
tree | 7c5dbe65b555df7aa1dadcc3cc07bb61b9dba283 | |
parent | 2150800616063fec8dc8bebe4ad92d5c93a05971 (diff) | |
download | openbsd-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.inc | 2 | ||||
-rw-r--r-- | src/regress/lib/libtls/verify/Makefile | 4 |
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 | ||
2 | TLS_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 | ||
3 | PROG= verifytest | 3 | PROG= verifytest |
4 | LDADD= -lcrypto -lssl -Wl,-Bstatic -ltls -Wl,-Bdynamic | 4 | LDADD= -lcrypto -lssl ${TLS_INT} |
5 | DPADD= ${LIBCRYPTO} ${LIBSSL} ${LIBTLS} | 5 | DPADD= ${LIBCRYPTO} ${LIBSSL} ${LIBTLS} |
6 | 6 | ||
7 | WARNINGS= Yes | 7 | WARNINGS= Yes |