diff options
author | Brent Cook <bcook@openbsd.org> | 2015-09-12 07:48:06 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-09-12 08:08:24 -0500 |
commit | 854f4f69af9003c0c29d3838001f549beaf36936 (patch) | |
tree | 913e183b140e6a974efa7643ec217d0f6d574257 /tests | |
parent | 34bfb6ecb5d178ee62b402ee344d0f6caf5cdad0 (diff) | |
download | portable-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.am | 3 | ||||
-rwxr-xr-x | tests/testdsa.sh | 6 | ||||
-rwxr-xr-x | tests/testenc.sh | 6 | ||||
-rwxr-xr-x | tests/testrsa.sh | 6 |
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 | |||
3 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/modes | 3 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/modes |
4 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1 | 4 | AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1 |
5 | AM_CPPFLAGS += -I $(top_srcdir)/ssl | 5 | AM_CPPFLAGS += -I $(top_srcdir)/ssl |
6 | AM_CPPFLAGS += -I $(top_srcdir)/apps | 6 | AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl |
7 | AM_CPPFLAGS += -I $(top_srcdir)/apps/openssl/compat | ||
7 | 8 | ||
8 | LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) | 9 | LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) |
9 | LDADD += $(top_builddir)/ssl/libssl.la | 10 | LDADD += $(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 | ||
7 | cmd=../apps/openssl | 7 | cmd=../apps/openssl/openssl |
8 | if [ -e ../apps/openssl.exe ]; then | 8 | if [ -e ../apps/openssl/openssl.exe ]; then |
9 | cmd=../apps/openssl.exe | 9 | cmd=../apps/openssl/openssl.exe |
10 | fi | 10 | fi |
11 | 11 | ||
12 | if [ -z $srcdir ]; then | 12 | if [ -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 | ||
4 | test=p | 4 | test=p |
5 | cmd=../apps/openssl | 5 | cmd=../apps/openssl/openssl |
6 | if [ -e ../apps/openssl.exe ]; then | 6 | if [ -e ../apps/openssl/openssl.exe ]; then |
7 | cmd=../apps/openssl.exe | 7 | cmd=../apps/openssl/openssl.exe |
8 | fi | 8 | fi |
9 | 9 | ||
10 | cat openssl.cnf >$test; | 10 | cat 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 | ||
7 | cmd=../apps/openssl | 7 | cmd=../apps/openssl/openssl |
8 | if [ -e ../apps/openssl.exe ]; then | 8 | if [ -e ../apps/openssl/openssl.exe ]; then |
9 | cmd=../apps/openssl.exe | 9 | cmd=../apps/openssl/openssl.exe |
10 | fi | 10 | fi |
11 | 11 | ||
12 | if [ -z $srcdir ]; then | 12 | if [ -z $srcdir ]; then |