From patchwork Thu Dec 30 19:15:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 4944 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4JPyfZ3Bz5z3wjq for ; Thu, 30 Dec 2021 19:15:50 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4JPyfX3vxfz1vl; Thu, 30 Dec 2021 19:15:48 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JPyfX0jBJz2ytv; Thu, 30 Dec 2021 19:15:48 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4JPyfV63hgz2xMX for ; Thu, 30 Dec 2021 19:15:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4JPyfV1GkZznC; Thu, 30 Dec 2021 19:15:46 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1640891746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=FhbBeZJOumOcUtnVrT+wu2E1+amzvFHRp5BaHl4L9Jw=; b=FkTMfDc/ETQwY0fORCW/68HWunRw81Qs1v5EZca89rcoAy0V3eDMEtbBxSxRPZEO9Qga/V XHajevi4PZ8/8YDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1640891746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=FhbBeZJOumOcUtnVrT+wu2E1+amzvFHRp5BaHl4L9Jw=; b=IcHI0wmv4J2duztVPP0Th0v6DhUGaArBAIc/x7dBbw988t93SAZcClFCTqmhLCIEvQz+B6 d+aq2TsKI2MG7BoW/wkH0ozWZH13elBimxSB6+CSVN0pByjAFMRQRL5uMRrRV7e4MagcX7 moT6S2NkWfF1B5kMYDVOTeLaEM2T5w68Hy+tMKUM3sUmTXnJoQti7y+RImMdwnuALjuYWh DEf16HmCtLhznHUye57bDxkgX6ZWbctbeGAawtZiZJCnU9k+qwhvHJm6htCfwJprOew+qy YN0Sf1nzc1xc6ENy+YruQMm2FByLSuBVO0p0mzoowttQPDgGlVRVvm9g2igyPQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] vpnmain.cgi: Fix extra whitespace in exported pk12 file Date: Thu, 30 Dec 2021 20:15:36 +0100 Message-Id: <20211230191536.2937-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl Reviewed-by: Michael Tremer Reviewed-by: Peter Müller --- html/cgi-bin/vpnmain.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 004e3ad1f..fb0af104f 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -1242,7 +1242,7 @@ END open(FILE, "${General::swroot}/certs/$confighash{$cgiparams{'KEY'}}[1].p12"); my @p12 = ; close(FILE); - print "@p12"; + print join("", @p12); exit (0);