From 0fd75c7e6e8482489135beb3f536546f27f6d0e5 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sun, 3 May 2015 08:45:27 -0400 Subject: [PATCH] GH271: Warning on --- apps/CA.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/CA.pl.in b/apps/CA.pl.in index 9d12a8c28f..5c8cdd09f2 100644 --- a/apps/CA.pl.in +++ b/apps/CA.pl.in @@ -121,7 +121,7 @@ if ($WHAT eq '-newcert' ) { # ask user for existing CA certificate print "CA certificate filename (or enter to create)\n"; $FILE = ; - chop $FILE; + chop $FILE if $FILE; if ($FILE) { copy_pemfile($FILE,"${CATOP}/private/$CAKEY", "PRIVATE"); copy_pemfile($FILE,"${CATOP}/$CACERT", "CERTIFICATE"); -- 2.25.1