vpnmain.cgi: Fix extra whitespace in exported pk12 file

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-12-30 20:15:36 +01:00
committed by Peter Müller
parent 5a3cafb225
commit f8384fbf8d

View File

@@ -1242,7 +1242,7 @@ END
open(FILE, "${General::swroot}/certs/$confighash{$cgiparams{'KEY'}}[1].p12");
my @p12 = <FILE>;
close(FILE);
print "@p12";
print join("", @p12);
exit (0);