aboutsummaryrefslogtreecommitdiffstats
path: root/test/recipes/80-test_ca.t
Commit message (Collapse)AuthorAgeFilesLines
* Add random serial# support.Rich Salz2017-08-221-1/+1
| | | | | | | | | | Add -rand_serial to CA command and "serial_rand" config option. Up RAND_BITS to 159, and comment why: now confirms to CABForum guidelines (Ballot 164) as well as IETF RFC 5280 (PKIX). Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4185)
* recipes/80-test_ca.t: make it work with spaces in pathnames.Andy Polyakov2017-08-031-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* -precert doesn't work when configured no-ct, don't try to test it thenRichard Levitte2017-03-021-0/+4
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2827)
* Fix the skip numbers in 80-test_ca.tRichard Levitte2017-03-021-3/+3
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2827)
* Change CA.pl flag from --newprecert to --precertRob Percival2017-02-221-1/+1
| | | | | Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/843)
* Basic test for "openssl req -precert" via apps/CA.plRob Percival2017-02-221-1/+5
| | | | | | | | TODO(robpercival): Should actually test that the output certificate contains the poison extension. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/843)
* Fix copy-paste test labelsFdaSilvaYY2016-10-131-2/+2
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* Have some more test recipes clean up after themselvesRichard Levitte2016-06-041-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* make sure to put quotes around -config argument, in case of spacesRichard Levitte2016-05-271-3/+3
| | | | | | RT#4486 Reviewed-by: Matt Caswell <matt@openssl.org>
* Unified copyright for test recipesRich Salz2016-04-221-1/+8
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Adapt some test recipes to the newer cmdstr()Richard Levitte2016-04-021-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Since OpenSSL::Test redirects stderr to /dev/null, don't do so in 80-test_ca.tRichard Levitte2016-03-301-4/+4
| | | | | | | | Since OpenSSL::Test only redirects stderr to /dev/null when being run through non-verbose test harness, this change allows the stderr output to be displayed when verbosity is requested. Reviewed-by: Emilia Käsper <emilia@openssl.org>
* test/recipes/80-test_ca.t: remove_tree->rmtree to make it work with Perl 5.10.Andy Polyakov2016-02-231-3/+3
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* unified build scheme: adjust test framework for out of source build treeRichard Levitte2016-02-091-5/+6
| | | | | | | | | | | | | | | | To be able to run tests when we've built in a directory other than the source tree, the testing framework needs a few adjustments. test/testlib/OpenSSL/Test.pm needs to know where it can find shlib_wrap.sh, and a number of other tests need to be told a different place to find engines than what they may be able to figure out on their own. Relying to $TOP is not enough, $SRCTOP and $BLDTOP can be used as an alternative. As part of this change, top_file and top_dir are removed and srctop_file, bldtop_file, srctop_dir and bldtop_dir take their place. Reviewed-by: Ben Laurie <ben@openssl.org>
* 80-test_ca.t is made to use the new perlapp()Richard Levitte2016-01-261-11/+6
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* Fix test/recipes/80-test_ca.t to work on VMSRichard Levitte2016-01-131-2/+4
| | | | | | | | | | | VMS uses a variant of openssl.cnf named openssl-vms.cnf. There's a Perl on VMS mystery where a open pipe will not SIGPIPE when the child process exits, which means that a loop sending "y\n" to it will never stop. Adding a counter helps fix this (set to 10, we know that none of the CA.pl commands will require more). Reviewed-by: Rich Salz <rsalz@openssl.org>
* Replace "SSLeay" in API with OpenSSLRich Salz2015-10-301-3/+3
| | | | | | | All instances of SSLeay (any combination of case) were replaced with the case-equivalent OpenSSL. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Make sure that 80-test_ca.t finds all the config filesRichard Levitte2015-09-071-2/+2
| | | | | | | This recipe counted too much on being called with test/ as its current working directory. That's a mistake on, for example, Windows. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Change OpenSSL::Test to be an extension of Test::MoreRichard Levitte2015-09-071-1/+0
| | | | | | | | | | | It became tedious as well as error prone to have all recipes use Test::More as well as OpenSSL::Test. The easier way is to make OpenSSL::Test an extension of Test::More, thereby having all version checks as well as future checks firmly there. Additionally, that allows us to extend existing Test::More functions if the need would arise. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add version numbers on some modules we use.Richard Levitte2015-09-071-2/+2
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add recipes for the larger protocolsRichard Levitte2015-09-071-0/+55
This covers the certificate authority commands, the cms and smime commands, OCSP, SSL and TSA. Reviewed-by: Rich Salz <rsalz@openssl.org>