summaryrefslogtreecommitdiffstats
path: root/apps/CA.pl.in
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2017-01-13 20:06:03 +0100
committerRich Salz <rsalz@openssl.org>2017-02-22 16:40:30 +0100
commit505fb9996483b92220a09595030603c0b1752579 (patch)
tree020c16393668766e72d534efe75a0b0a615b30c5 /apps/CA.pl.in
parentDocumentation for the -precert flag for "openssl req" (diff)
downloadopenssl-505fb9996483b92220a09595030603c0b1752579.tar.xz
openssl-505fb9996483b92220a09595030603c0b1752579.zip
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)
Diffstat (limited to 'apps/CA.pl.in')
-rw-r--r--apps/CA.pl.in2
1 files changed, 1 insertions, 1 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;