summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-01-16 01:15:02 -0500
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-01-20 19:04:33 -0500
commitfeb2f53edc7e9b96cfe9c0ab611461edabdd2b34 (patch)
tree4a46e701fa35f54f21d45631d7cbae55bd1f6caa /test
parent0996dc5440cc233f029129182bbb6e3d4613045a (diff)
Multiple -trusted/-untrusted/-CRLfile options in verify
It is sometimes useful (especially in automated tests) to supply multiple trusted or untrusted certificates via separate files rather than have to prepare a single file containing them all. To that end, change verify(1) to accept these options zero or more times. Also automatically set -no-CAfile and -no-CApath when -trusted is specified. Improve verify(1) documentation, which could still use some work. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/recipes/25-test_verify.t4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/recipes/25-test_verify.t b/test/recipes/25-test_verify.t
index 1059878683..030e4a5766 100644
--- a/test/recipes/25-test_verify.t
+++ b/test/recipes/25-test_verify.t
@@ -8,10 +8,6 @@ use OpenSSL::Test qw/:DEFAULT top_dir top_file/;
setup("test_verify");
-# Note for now, at most one trusted and one untrusted PEM file can be
-# specified. The verify(1) option parser does not accumulate content
-# from multiple trusted or untrusted files.
-#
sub verify {
my ($cert, $vname, $trusted, $untrusted, @opts) = @_;
my @args = qw(openssl verify -verify_name);