summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorfbroda <fbroda@ipb-halle.de>2016-03-15 10:08:49 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-15 18:42:53 +0100
commit08538fc0a57a9317da22958beeab3ff8af4b2ded (patch)
tree3c75b790e259156cabc9f055cab98e58ec7e5e02 /test
parent3ddd1d0458b4e90d34379a3019f092d6010e9710 (diff)
General verify options to openssl ts
This commit adds the general verify options of ocsp, verify, cms, etc. to the openssl timestamping app as suggested by Stephen N. Henson in [openssl.org #4287]. The conflicting "-policy" option of "openssl ts" has been renamed to "-tspolicy". Documentation and tests have been updated. CAVE: This will break code, which currently uses the "-policy" option. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/recipes/80-test_tsa.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/80-test_tsa.t b/test/recipes/80-test_tsa.t
index 229f17e95d..477de2db2a 100644
--- a/test/recipes/80-test_tsa.t
+++ b/test/recipes/80-test_tsa.t
@@ -98,7 +98,7 @@ indir "tsa" => sub
skip "failed", 16
unless ok(run(app([@RUN, "-query", "-data", $testtsa,
- "-policy", "tsa_policy1", "-cert",
+ "-tspolicy", "tsa_policy1", "-cert",
"-out", "req1.tsq"])),
'creating req1.req time stamp request for file testtsa');
@@ -132,7 +132,7 @@ indir "tsa" => sub
skip "failed", 10
unless ok(run(app([@RUN, "-query", "-data", $testtsa,
- "-policy", "tsa_policy2", "-no_nonce",
+ "-tspolicy", "tsa_policy2", "-no_nonce",
"-out", "req2.tsq"])),
'creating req2.req time stamp request for file testtsa');