From patchwork Mon Jun 21 15:45:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 4454 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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4G7v4X0rLQz3wyF for ; Mon, 21 Jun 2021 15:45:32 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4G7v4W51PgzZ6; Mon, 21 Jun 2021 15:45:31 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4G7v4W556Lz2xZC; Mon, 21 Jun 2021 15:45:31 +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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4G7v4T5qgkz2xVT for ; Mon, 21 Jun 2021 15:45:29 +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 4G7v4R5JnBzQ0; Mon, 21 Jun 2021 15:45:27 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1624290328; 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: in-reply-to:in-reply-to:references:references; bh=DIz/msI0+D+l9MXT42eOUS+tFZo76hrqTTKx1RdixRk=; b=1mDnPeigIeL9Q0t2RorPs68ntrOoJyg+9E5K0uCrxgDlLjDJNoqYmZHCbBbe0gA+7H4+DD ZXcHumuDEWIG+0Dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1624290328; 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: in-reply-to:in-reply-to:references:references; bh=DIz/msI0+D+l9MXT42eOUS+tFZo76hrqTTKx1RdixRk=; b=eoirrPmwW0MQNQWPGk10p0KZIkqL/RH7vTCtysIQFoGQeYW9ZTs99S3E+70/la2wLAuyy2 D3Kik3wzC9DFDd6remNYuh6NG28cws5o5zlTRVuFo1ghz2JLxTN+ETp+FiItHnEc9qId1U AiwJxId+I6OrhxrQWEJOo5FYRva4wAWR7BuALCvBGYugt+hJ5hXCFOQKSPsLt9l5146I5s VyyqWwSNN5z/FSapTQulMjNvS+1n9Fj1puOZdHsIFKxIL9a1cxJ/tdTXU/02Gcaw/RBbyT Yx513bk5+BVusOA6b6dcMvumE5rVlJXtB09ihT1LRjxeWoImM8Bip7m20JK5eQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 2/2] ovpnmain.cgi: Call correct system_output() function. Date: Mon, 21 Jun 2021 17:45:06 +0200 Message-Id: <20210621154506.2482-2-stefan.schantl@ipfire.org> In-Reply-To: <20210621154506.2482-1-stefan.schantl@ipfire.org> References: <20210621154506.2482-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 --- html/cgi-bin/ovpnmain.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 5af1b807e..7a2833ce6 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -5764,7 +5764,7 @@ END # Adding DH parameter to chart if (-f "${General::swroot}/ovpn/ca/dh1024.pem") { - my @dhsubject = &System_output("/usr/bin/openssl", "dhparam", "-text", "-in", "${General::swroot}/ovpn/ca/dh1024.pem"); + my @dhsubject = &General::system_output("/usr/bin/openssl", "dhparam", "-text", "-in", "${General::swroot}/ovpn/ca/dh1024.pem"); my $dhsubject; foreach my $line (@dhsubject) {