aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-09-12 07:48:06 -0500
committerBrent Cook <bcook@openbsd.org>2015-09-12 08:08:24 -0500
commit854f4f69af9003c0c29d3838001f549beaf36936 (patch)
tree913e183b140e6a974efa7643ec217d0f6d574257 /tests
parent34bfb6ecb5d178ee62b402ee344d0f6caf5cdad0 (diff)
downloadportable-854f4f69af9003c0c29d3838001f549beaf36936.tar.gz
portable-854f4f69af9003c0c29d3838001f549beaf36936.tar.bz2
portable-854f4f69af9003c0c29d3838001f549beaf36936.zip
add 'nc' to the distribution as an example of libtls client and server
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
-rwxr-xr-xtests/testdsa.sh6
-rwxr-xr-xtests/testenc.sh6
-rwxr-xr-xtests/testrsa.sh6
4 files changed, 11 insertions, 10 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fe3bece..b114042 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,7 +3,8 @@ include $(top_srcdir)/Makefile.am.common
3AM_CPPFLAGS += -I $(top_srcdir)/crypto/modes 3AM_CPPFLAGS += -I $(top_srcdir)/crypto/modes
4AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1 4AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1
5AM_CPPFLAGS += -I $(top_srcdir)/ssl 5AM_CPPFLAGS += -I $(top_srcdir)/ssl
6AM_CPPFLAGS += -I $(top_srcdir)/apps 6AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl
7AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl/compat
7 8
8LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) 9LDADD = $(PLATFORM_LDADD) $(PROG_LDADD)
9LDADD += $(top_builddir)/ssl/libssl.la 10LDADD += $(top_builddir)/ssl/libssl.la
diff --git a/tests/testdsa.sh b/tests/testdsa.sh
index 22de755..ed681e7 100755
--- a/tests/testdsa.sh
+++ b/tests/testdsa.sh
@@ -4,9 +4,9 @@
4 4
5#Test DSA certificate generation of openssl 5#Test DSA certificate generation of openssl
6 6
7cmd=../apps/openssl 7cmd=../apps/openssl/openssl
8if [ -e ../apps/openssl.exe ]; then 8if [ -e ../apps/openssl/openssl.exe ]; then
9 cmd=../apps/openssl.exe 9 cmd=../apps/openssl/openssl.exe
10fi 10fi
11 11
12if [ -z $srcdir ]; then 12if [ -z $srcdir ]; then
diff --git a/tests/testenc.sh b/tests/testenc.sh
index 9973c1c..4e488ad 100755
--- a/tests/testenc.sh
+++ b/tests/testenc.sh
@@ -2,9 +2,9 @@
2# $OpenBSD: testenc.sh,v 1.1 2014/08/26 17:50:07 jsing Exp $ 2# $OpenBSD: testenc.sh,v 1.1 2014/08/26 17:50:07 jsing Exp $
3 3
4test=p 4test=p
5cmd=../apps/openssl 5cmd=../apps/openssl/openssl
6if [ -e ../apps/openssl.exe ]; then 6if [ -e ../apps/openssl/openssl.exe ]; then
7 cmd=../apps/openssl.exe 7 cmd=../apps/openssl/openssl.exe
8fi 8fi
9 9
10cat openssl.cnf >$test; 10cat openssl.cnf >$test;
diff --git a/tests/testrsa.sh b/tests/testrsa.sh
index b72e760..c2c7c4c 100755
--- a/tests/testrsa.sh
+++ b/tests/testrsa.sh
@@ -4,9 +4,9 @@
4 4
5#Test RSA certificate generation of openssl 5#Test RSA certificate generation of openssl
6 6
7cmd=../apps/openssl 7cmd=../apps/openssl/openssl
8if [ -e ../apps/openssl.exe ]; then 8if [ -e ../apps/openssl/openssl.exe ]; then
9 cmd=../apps/openssl.exe 9 cmd=../apps/openssl/openssl.exe
10fi 10fi
11 11
12if [ -z $srcdir ]; then 12if [ -z $srcdir ]; then