From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: Re: [PATCH 1/3] IPsec: Fix extra whitespace in exported certificates Date: Fri, 03 Sep 2021 18:26:46 +0200 Message-ID: <07b1a998aef008ed3c568f072a846661da7ca9d7.camel@ipfire.org> In-Reply-To: <20210824155048.13859-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2331481410987692660==" List-Id: --===============2331481410987692660== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Schantl Tested-by: Stefan Schantl > Signed-off-by: Michael Tremer > --- >  html/cgi-bin/vpnmain.cgi | 4 ++-- >  1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi > index d54b56577..980601ba0 100644 > --- a/html/cgi-bin/vpnmain.cgi > +++ b/html/cgi-bin/vpnmain.cgi > @@ -849,7 +849,7 @@ END >                 print "Content-Disposition: attachment; > filename=cacert.pem\r\n\r\n"; >   >                 my @cert = > &General::system_output("/usr/bin/openssl", "x509", "-in", > "${General::swroot}/ca/cacert.pem"); > -               print "@cert"; > +               print join("", @cert); >                 exit(0); >         } >  ### > @@ -861,7 +861,7 @@ END >                 print "Content-Disposition: attachment; > filename=hostcert.pem\r\n\r\n"; >   >                 my @cert = > &General::system_output("/usr/bin/openssl", "x509", "-in", > "${General::swroot}/certs/hostcert.pem"); > -               print "@cert"; > +               print join("", @cert); >                 exit(0); >         } >  ### --===============2331481410987692660==--