projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add chain to PKCS#12 test file generation in 90-test_store.t
[openssl.git]
/
test
/
recipes
/
90-test_store.t
diff --git
a/test/recipes/90-test_store.t
b/test/recipes/90-test_store.t
index 337bbb10c9f494f3c466ad1d1b0d888dcc9c51db..0905232e35cf5021d3b56683b76965e13a4d23ed 100644
(file)
--- a/
test/recipes/90-test_store.t
+++ b/
test/recipes/90-test_store.t
@@
-1,5
+1,5
@@
#! /usr/bin/env perl
#! /usr/bin/env perl
-# Copyright 2016-20
18
The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 2016-20
20
The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
@@
-361,6
+361,7
@@
sub init {
}
run(app(["openssl", "pkcs12", "-inkey", $srckey,
"-in", $srccert, "-passout", "pass:password",
}
run(app(["openssl", "pkcs12", "-inkey", $srckey,
"-in", $srccert, "-passout", "pass:password",
+ "-chain", "-CAfile", "cacert.pem",
"-export", "-macalg", $macalg,
"-certpbe", $certpbe, "-keypbe", $keypbe,
"-out", $dstfile]));
"-export", "-macalg", $macalg,
"-certpbe", $certpbe, "-keypbe", $keypbe,
"-out", $dstfile]));