diff --git a/apps/CA.pl.in b/apps/CA.pl.in index 4fc408896d16d6253042d9baed88c3b4f658645d..0dec24c36f28e6e54414a2bcd48e94189190518d 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.