From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/3] IPsec: Fix extra whitespace in exported certificates Date: Tue, 24 Aug 2021 15:50:46 +0000 Message-ID: <20210824155048.13859-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5586896536461493970==" List-Id: --===============5586896536461493970== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=3Dcacert.pem\r\n\r\n"; =20 my @cert =3D &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=3Dhostcert.pem\r\n\r\n"; =20 my @cert =3D &General::system_output("/usr/bin/openssl", "x509", "-in", "$= {General::swroot}/certs/hostcert.pem"); - print "@cert"; + print join("", @cert); exit(0); } ### --=20 2.20.1 --===============5586896536461493970==--