diff options
author | Rob Percival <robpercival@google.com> | 2017-01-13 19:06:03 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-02-22 10:40:30 -0500 |
commit | 505fb9996483b92220a09595030603c0b1752579 (patch) | |
tree | 020c16393668766e72d534efe75a0b0a615b30c5 | |
parent | 7bb89f094de0fb544df77e5afca82ade9b413f7d (diff) |
Change CA.pl flag from --newprecert to --precert
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/843)
-rw-r--r-- | apps/CA.pl.in | 2 | ||||
-rw-r--r-- | test/recipes/80-test_ca.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/CA.pl.in b/apps/CA.pl.in index 940e7d60ab..b9b93cb452 100644 --- a/apps/CA.pl.in +++ b/apps/CA.pl.in @@ -123,7 +123,7 @@ if ($WHAT eq '-newcert' ) { # create a certificate $RET = run("$REQ -new -x509 -keyout $NEWKEY -out $NEWCERT $DAYS $EXTRA{req}"); print "Cert is in $NEWCERT, private key is in $NEWKEY\n" if $RET == 0; -} elsif ($WHAT eq '-newprecert' ) { +} elsif ($WHAT eq '-precert' ) { # create a pre-certificate $RET = run("$REQ -new -x509 -precert -keyout $NEWKEY -out $NEWCERT $DAYS"); print "Pre-cert is in $NEWCERT, private key is in $NEWKEY\n" if $RET == 0; diff --git a/test/recipes/80-test_ca.t b/test/recipes/80-test_ca.t index 4766b8280d..e9ff318ff3 100644 --- a/test/recipes/80-test_ca.t +++ b/test/recipes/80-test_ca.t @@ -43,7 +43,7 @@ plan tests => 5; 'verifying new certificate'); $ENV{OPENSSL_CONFIG} = "-config ".srctop_file("test", "Uss.cnf"); - ok(run(perlapp(["CA.pl", "-newprecert"], stderr => undef)), + ok(run(perlapp(["CA.pl", "-precert"], stderr => undef)), 'creating new pre-certificate'); } |