From patchwork Wed Mar 17 11:34:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tincanteksup X-Patchwork-Id: 1625 X-Patchwork-Delegate: a@unstable.cc Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director10.mail.ord1d.rsapps.net ([172.27.255.58]) by backend30.mail.ord1d.rsapps.net with LMTP id gCDUHFSEUmDRIgAAIUCqbw (envelope-from ) for ; Wed, 17 Mar 2021 18:36:04 -0400 Received: from proxy1.mail.iad3a.rsapps.net ([172.27.255.58]) by director10.mail.ord1d.rsapps.net with LMTP id CLhBHFSEUmALGwAApN4f7A (envelope-from ) for ; Wed, 17 Mar 2021 18:36:04 -0400 Received: from smtp32.gate.iad3a ([172.27.255.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy1.mail.iad3a.rsapps.net with LMTPS id oD/xFVSEUmC9ewAA8TVjwQ (envelope-from ) for ; Wed, 17 Mar 2021 18:36:04 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp32.gate.iad3a.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=gmail.com; dmarc=fail (p=none; dis=none) header.from=gmail.com X-Suspicious-Flag: YES X-Classification-ID: 27d2afb6-8771-11eb-96f0-5254001741cc-1-1 Received: from [216.105.38.7] ([216.105.38.7:60932] helo=lists.sourceforge.net) by smtp32.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 92/1A-22243-35482506; Wed, 17 Mar 2021 18:36:04 -0400 Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1lMel2-00021K-45; Wed, 17 Mar 2021 22:35:16 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMel0-000216-KX for openvpn-devel@lists.sourceforge.net; Wed, 17 Mar 2021 22:35:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QcABaY+xOrXN7Er+copFp67dUrxQ1Um1E+/HrCep6+c=; b=JtOgQqy9KRcXESETU/uh7rWuZv rnQIeCT/zLrWzZN4Q+SoZKIksJH+dL5jY0ew60UgZKvQoJj4FLCagLdj5Q63vdosMyoz7LspuPqpA SgNEGzrNCgDuD7L4OrnLRhCnljk2Nhc2/GiyW/F0JU8yK11b9pnzGnA065qVfU0HDDWw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=QcABaY+xOrXN7Er+copFp67dUrxQ1Um1E+/HrCep6+c=; b=N Sbkj1wUmfv8p7+sRWsnrtRbAaW6cgIolaaHg2JdCMlfpR8qLqMe5Qt/TyvwaFVufedD9NFhX0A/qB pCk5h/PSiMOSd6/JlIi8SzSOl8X+D4KHpbLiQLKDbbC9POPIb7N7z/S/pVa+wYLuZRaSDZ343YidA v3Rl72fZCEml6ZLk=; Received: from mail-ej1-f50.google.com ([209.85.218.50]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) id 1lMekr-00CNIF-VI for openvpn-devel@lists.sourceforge.net; Wed, 17 Mar 2021 22:35:14 +0000 Received: by mail-ej1-f50.google.com with SMTP id b7so862989ejv.1 for ; Wed, 17 Mar 2021 15:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QcABaY+xOrXN7Er+copFp67dUrxQ1Um1E+/HrCep6+c=; b=tyH23CtovFiFSd0SSbxQYNDcpO8AmW9agpMFI3WktTOdUsrmGZ2A94MlEwX1MjBF96 vRwl/pOVGxhc8f1zyY61IRNaYrtduIfogOGpGJk7PTJsf+28jH33ZLUfOheW1FyO6fEM qnzFemrq+S6uakWlwpR6vCxZJ0NiN5L3lOj+zogyOEK7e5Az0DSdadt5UmWNMMBKQGbu GumM0JGYMHsWT6UsFvAZV5DjeMVVaBD+5hN1j8oychPqLEt43BM0t+wxyy/00cKmaOhH 3HwpqQ7MjB2x5jIe9L+XIeZthHOPeRt1oxzS7ioSEe/ryX+npeTe1dzJvymXAIoujBAL Nyow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QcABaY+xOrXN7Er+copFp67dUrxQ1Um1E+/HrCep6+c=; b=aA2gZvspyFc+WmMqTCHyH7L6RQOqa/jh0+ZxgCEp3c3A8jiVpEPYDkLnnR30IiQ2ue XKol+wj0iBPCKYGoHBVPgAm5+phldxSKgf1Ed/sVj+efPhj8/SmdpUwvqSGLL+Xmf91m s4Zm+Lk3so5QSRON8YEkmHBdRTv7GFdGSIz10BVTK5ZeRrEtO9ytHzIgTMtwQ5MZO+9L TJ46nxFtBMHJP93hi0nCwMWznJCwGPR36vDJS0mddduEY6rLBZpjWghwIC6gIulPSPPo GF9q+TlzL78IPyE08roLkfTg5/NUXKXnoudhBopoQ7fQee7S1HPvQRcDqPDoFWZC5Bak zA7Q== X-Gm-Message-State: AOAM532++nCeyAvxBEehGovKziBmwdZd3B7+92Df7hhWMiKuBkNPdSQJ oeYt7hEZE91VXS4DAp+teeIi+cayi3E= X-Google-Smtp-Source: ABdhPJwa5XSnWH7vB2fGUixFxD0BiDkNAGEoBtelnuf6lMsZjxAMbrz/SOzR2YC2NuJ53eX1Xs9YQQ== X-Received: by 2002:a17:907:72ce:: with SMTP id du14mr37966524ejc.301.1616020499689; Wed, 17 Mar 2021 15:34:59 -0700 (PDT) Received: from localhost.localdomain (host-78-149-65-45.as13285.net. [78.149.65.45]) by smtp.gmail.com with ESMTPSA id gt37sm220412ejc.12.2021.03.17.15.34.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 15:34:59 -0700 (PDT) From: Richard Bonhomme To: openvpn-devel@lists.sourceforge.net Date: Wed, 17 Mar 2021 22:34:48 +0000 Message-Id: <20210317223448.1278818-1-tincanteksup@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tincanteksup[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.50 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.50 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Headers-End: 1lMekr-00CNIF-VI Subject: [Openvpn-devel] [PATCH] Do not print Diffy Hellman parameters file to log file X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox Suppress printing the complete Diffy Hellman parameters file to the log file when it has been configured as an inline file. Signed-off-by: Richard Bonhomme Acked-by: Antonio Quartulli --- src/openvpn/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 0eb049d8..3a2c7a10 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -1695,7 +1695,7 @@ show_settings(const struct options *o) SHOW_BOOL(tls_client); SHOW_STR_INLINE(ca_file); SHOW_STR(ca_path); - SHOW_STR(dh_file); + SHOW_STR_INLINE(dh_file); #ifdef ENABLE_MANAGEMENT if ((o->management_flags & MF_EXTERNAL_CERT)) {