From patchwork Tue Jun 22 12:52:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 4456 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 4G8RBq0Xs0z3wbS for ; Tue, 22 Jun 2021 12:52:51 +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 4G8RBn1qXLz1V6; Tue, 22 Jun 2021 12:52:49 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4G8RBn0LWXz2xq4; Tue, 22 Jun 2021 12:52:49 +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 4G8RBl1L0Jz2xKp for ; Tue, 22 Jun 2021 12:52:47 +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 4G8RBk1vqLzZb; Tue, 22 Jun 2021 12:52:46 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1624366366; 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=bZiXHmd3N4EqG4Au/r1alDsVKlw3jEXH72/6S5BBkQI=; b=8bWpqm8w1VGh1ynNYfPLRzbnfFvJdlV8JWGogrjsIITEjQsncUtu0jU9RMUryISUeTeBUv Ueaj1+YtSAlfhWAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1624366366; 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=bZiXHmd3N4EqG4Au/r1alDsVKlw3jEXH72/6S5BBkQI=; b=OerUAy4d2YlQynmrA5SPhddNuoayzrMRuGiIfoSsWw0xfMDnYAkEdv1fUZoxZ/dW3fkEmF W6xzUtYuyV8B1/nAIEAnDAfr1He7LqDp/jLWVwM1Ny8OVE+5GsUT4cGtR31RwwkNyx5wjZ pVeNp0KuA8toyLsScpxPU4kKkV/KcqHffpBpLVqeNdWjLndHKEQOiEdjPtJ3IPW/KHhhWl vz2TJfYqnRkLYHG3E/yzdkQ6wbsdDtZfKYe0bIKokv42l1fsaWXRhQp7H53n/q51zUK83h KlbARdAjdARzxeRFgIMJf2Rfgr59BnLFAgiAa0v3J7pgWMROwP2Q69d8AbeUNg== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCHv2] ovpnmain.cgi: Call correct system_output() function. Date: Tue, 22 Jun 2021 14:52:36 +0200 Message-Id: <20210622125236.2412-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 d9e26de2f..e6b272f03 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) {