diff options
author | Richard Levitte <levitte@openssl.org> | 2016-05-23 15:47:43 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-05-23 21:48:42 +0200 |
commit | 35b060fcc994bc019acdfa96f30cf8aa4f41881a (patch) | |
tree | 05fb154cbb19b6ef31d709e4bcffb1e704c9d211 /apps | |
parent | 050a36a9a1af1e00003f76597df7cf9ff33f8101 (diff) |
Make sure to initialize all CA.pl variables properly
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/CA.pl.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/CA.pl.in b/apps/CA.pl.in index 4fc408896d..0dec24c36f 100644 --- a/apps/CA.pl.in +++ b/apps/CA.pl.in @@ -23,7 +23,7 @@ if(defined $ENV{'OPENSSL'}) { my $verbose = 1; -my $OPENSSL_CONFIG = $ENV{"OPENSSL_CONFIG"}; +my $OPENSSL_CONFIG = $ENV{"OPENSSL_CONFIG"} || ""; my $DAYS = "-days 365"; my $CADAYS = "-days 1095"; # 3 years my $REQ = "$openssl req $OPENSSL_CONFIG"; @@ -45,7 +45,7 @@ my $NEWREQ = "newreq.pem"; my $NEWCERT = "newcert.pem"; my $NEWP12 = "newcert.p12"; my $RET = 0; -my $WHAT = shift @ARGV; +my $WHAT = shift @ARGV || ""; my $FILE; # See if reason for a CRL entry is valid; exit if not. |