aboutsummaryrefslogtreecommitdiff
path: root/test/recipes
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-05-11 15:41:08 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-07-28 09:17:56 +0200
commitef8980176d53d85ff96d913a647c01d07e144c5d (patch)
tree489ddabbd96ef452c16b004018390000e9f9fed4 /test/recipes
parent846f96f821260ca83cc93bfa35207864b05abec5 (diff)
downloadopenssl-ef8980176d53d85ff96d913a647c01d07e144c5d.zip
openssl-ef8980176d53d85ff96d913a647c01d07e144c5d.tar.gz
openssl-ef8980176d53d85ff96d913a647c01d07e144c5d.tar.bz2
Deprecate -nodes in favor of -noenc in pkcs12 and req app
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12495)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/80-test_tsa.t2
-rw-r--r--test/recipes/90-test_store.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/80-test_tsa.t b/test/recipes/80-test_tsa.t
index 859dacb..3a4d729 100644
--- a/test/recipes/80-test_tsa.t
+++ b/test/recipes/80-test_tsa.t
@@ -97,7 +97,7 @@ indir "tsa" => sub
$ENV{TSDNSECT} = "ts_ca_dn";
skip "failed", 19
unless ok(run(app(["openssl", "req", "-config", $openssl_conf,
- "-new", "-x509", "-nodes",
+ "-new", "-x509", "-noenc",
"-out", "tsaca.pem", "-keyout", "tsacakey.pem"])),
'creating a new CA for the TSA tests');
diff --git a/test/recipes/90-test_store.t b/test/recipes/90-test_store.t
index 9f4eaa2..57c2e6e 100644
--- a/test/recipes/90-test_store.t
+++ b/test/recipes/90-test_store.t
@@ -317,7 +317,7 @@ sub init {
}, grep(/-key-pkcs8-pbes2-sha256\.pem$/, @generated_files))
# *-cert.pem (intermediary for the .p12 inits)
&& run(app(["openssl", "req", "-x509",
- "-config", $cnf, "-nodes",
+ "-config", $cnf, "-noenc",
"-key", $cakey, "-out", "cacert.pem"]))
&& runall(sub {
my $srckey = shift;