From 505fb9996483b92220a09595030603c0b1752579 Mon Sep 17 00:00:00 2001 From: Rob Percival Date: Fri, 13 Jan 2017 19:06:03 +0000 Subject: Change CA.pl flag from --newprecert to --precert Reviewed-by: Tim Hudson Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/843) --- apps/CA.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/CA.pl.in') 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; -- cgit v1.2.3