diff options
| -rw-r--r-- | tests/Makefile.am | 3 | ||||
| -rw-r--r-- | tests/optionstest.c | 2 | ||||
| -rwxr-xr-x | tests/testdsa.sh | 2 | ||||
| -rwxr-xr-x | tests/testrsa.sh | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index aed12ff..66ace5e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -197,8 +197,6 @@ mont_SOURCES = mont.c | |||
| 197 | TESTS += optionstest | 197 | TESTS += optionstest |
| 198 | check_PROGRAMS += optionstest | 198 | check_PROGRAMS += optionstest |
| 199 | optionstest_SOURCES = optionstest.c | 199 | optionstest_SOURCES = optionstest.c |
| 200 | optionstest_SOURCES += $(top_srcdir)/apps/apps.c | ||
| 201 | optionstest_SOURCES += $(top_srcdir)/apps/strtonum.c | ||
| 202 | 200 | ||
| 203 | # pbkdf2 | 201 | # pbkdf2 |
| 204 | TESTS += pbkdf2 | 202 | TESTS += pbkdf2 |
| @@ -281,6 +279,7 @@ EXTRA_DIST += testssl ca.pem server.pem | |||
| 281 | # testdsa | 279 | # testdsa |
| 282 | TESTS += testdsa.sh | 280 | TESTS += testdsa.sh |
| 283 | EXTRA_DIST += testdsa.sh | 281 | EXTRA_DIST += testdsa.sh |
| 282 | EXTRA_DIST += openssl.cnf | ||
| 284 | 283 | ||
| 285 | # testenc | 284 | # testenc |
| 286 | TESTS += testenc.sh | 285 | TESTS += testenc.sh |
diff --git a/tests/optionstest.c b/tests/optionstest.c index 0cedfe6..e860f0d 100644 --- a/tests/optionstest.c +++ b/tests/optionstest.c | |||
| @@ -23,6 +23,8 @@ | |||
| 23 | #include <openssl/conf.h> | 23 | #include <openssl/conf.h> |
| 24 | 24 | ||
| 25 | #include <apps.h> | 25 | #include <apps.h> |
| 26 | #include <apps.c> | ||
| 27 | #include <strtonum.c> | ||
| 26 | 28 | ||
| 27 | /* Needed to keep apps.c happy... */ | 29 | /* Needed to keep apps.c happy... */ |
| 28 | BIO *bio_err; | 30 | BIO *bio_err; |
diff --git a/tests/testdsa.sh b/tests/testdsa.sh index 413323e..205b564 100755 --- a/tests/testdsa.sh +++ b/tests/testdsa.sh | |||
| @@ -30,6 +30,6 @@ if [ $? != 0 ]; then | |||
| 30 | exit 1; | 30 | exit 1; |
| 31 | fi | 31 | fi |
| 32 | 32 | ||
| 33 | rm testdsa.key | 33 | rm testdsa.key dsa512.pem testdsa.pem |
| 34 | 34 | ||
| 35 | exit 0 | 35 | exit 0 |
diff --git a/tests/testrsa.sh b/tests/testrsa.sh index cb4e28d..c96ad25 100755 --- a/tests/testrsa.sh +++ b/tests/testrsa.sh | |||
| @@ -30,4 +30,6 @@ if [ $? != 0 ]; then | |||
| 30 | exit 1; | 30 | exit 1; |
| 31 | fi | 31 | fi |
| 32 | 32 | ||
| 33 | rm -f rsacert.pem rsakey.pem | ||
| 34 | |||
| 33 | exit 0 | 35 | exit 0 |
