diff options
author | Rob Percival <robpercival@google.com> | 2017-01-13 19:10:26 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-02-22 10:40:30 -0500 |
commit | 65b3dff76b570dc0c893defa8014314c13c82c73 (patch) | |
tree | d51967ebff90744d9f3426e7ad88681cea03d61c /apps/CA.pl.in | |
parent | 505fb9996483b92220a09595030603c0b1752579 (diff) |
apps/req.c: flag "-new" is implied by "-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.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/CA.pl.in b/apps/CA.pl.in index b9b93cb452..ddbc70d710 100644 --- a/apps/CA.pl.in +++ b/apps/CA.pl.in @@ -125,7 +125,7 @@ if ($WHAT eq '-newcert' ) { print "Cert is in $NEWCERT, private key is in $NEWKEY\n" if $RET == 0; } elsif ($WHAT eq '-precert' ) { # create a pre-certificate - $RET = run("$REQ -new -x509 -precert -keyout $NEWKEY -out $NEWCERT $DAYS"); + $RET = run("$REQ -x509 -precert -keyout $NEWKEY -out $NEWCERT $DAYS"); print "Pre-cert is in $NEWCERT, private key is in $NEWKEY\n" if $RET == 0; } elsif ($WHAT eq '-newreq' ) { # create a certificate request |