GH271: Warning on </dev/null to CA.pl
authorRich Salz <rsalz@akamai.com>
Sun, 3 May 2015 12:45:27 +0000 (08:45 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 4 May 2015 19:07:52 +0000 (15:07 -0400)
commit0fd75c7e6e8482489135beb3f536546f27f6d0e5
treea6a7200049eebef2e785e130c3952f71e010102b
parentb4faea50c35d92a67d1369355b49cc3efba78406
GH271: Warning on </dev/null to CA.pl

If CA.pl is reading from /dev/null, then "chop $FILE" gives a warning.
Sigh.  Have to add "if $FILE".  This just silences a build warning.
Thanks to GitHub user andrejs-igumenovs for help with this.

Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/CA.pl.in