| Message ID | 20261123134935.31769-1-gert@greenie.muc.de |
|---|---|
| State | New |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net>
Delivered-To: patchwork@openvpn.net
Received: by 2002:a05:6022:91c9:10b0:11b:d6c:f273 with SMTP id
tl9-n1csp2775264lad;
Mon, 23 Nov 2026 05:49:52 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AL+hErGOV27I35kRiYMVAHyN+rh3E1XBmo4Q0ue4BiHXrTjHjZ5Gzdj8PkSc+EOwzsIRoMBaoD6o0S1Dcp0=@openvpn.net
X-Received: by 2002:a05:701b:4558:10b0:1b3:b4cf:8f18 with SMTP id
a92af1059eb24-1b556926cfbmr12401383c88.41.1795441792476;
Mon, 23 Nov 2026 05:49:52 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1795441792; cv=none;
d=google.com; s=arc-20260327;
b=I4IsF2XC3EtjfLWkLNIS7VLah94YsHoZ0A62otS2R7KWPVHFUcFlr4Rq4xsMpFrxDy
BsBV5N9IsO16QTBrzL5PtsBUt5AtGgYg143qB3Bz35VH++Lsmowfy4pcVxhlnAMPxPMf
RAfDnSSl6WQbQ0nOJlV4SlBZJNJmpA40/QLGXz9gyGetfXCpTUcK+o8l7yYLcUn006UR
M5o9UrlTN7JiBSB69PVUf6D4mX8ZIloozVxoHZRNf+4HvDj/CBqXPELK4pvD7GB1fYuT
JNiHs9QZTNGECJ6m5DenQsK1vK+65hbLrZ97OTiRmi/Ku5h/5tDfAjUKrzv3dUvb3G5l
Rk5A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=errors-to:content-transfer-encoding:list-subscribe:list-help
:list-post:list-archive:list-unsubscribe:list-id:precedence:subject
:mime-version:references:in-reply-to:message-id:date:to:from
:dkim-signature:dkim-signature:dkim-signature;
bh=LILaqr3At118ZyH/U+6Hu5IFPl0r+defZOfMtQngytk=;
fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=;
b=cehW5x6L/UzxuBvJYdEQG2Loog/hqaSndFQh4aUPwr9+JPAvP+KaPeKqjZNSvDOgFd
vGIqmq3HyBC4wIjEkMIjD+Ecpj5ZT01wBHjEWUNMCQMOuqE1CRtaCABciy22g6u30Y/o
zfmC7wyTNkZ1sLC7Z3Au22H9D7BXovgrnKU3XojBxYDpAF6O35CDSbAgkFXiET4kI7Lx
nmLnNNfLGHU8mClZfXsWxrwo/wI1pq9O2oyAKNcIkwbGeE/41x3hw9NsvX1UVZFdVrwV
6f4pMofAvGvpx8/FESHk1Vt2KGYki76+ovFDf7seS6eddRp7RfU+FpRnbbRfz1QxPKuf
G+xA==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@lists.sourceforge.net header.s=beta
header.b=lnTIs5Sv;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=O3OdsPCT;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=B3m8cTUH;
spf=pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net;
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de
Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7])
by mx.google.com with ESMTPS id
a92af1059eb24-1b56ff21077si12300903c88.27.2026.11.23.05.49.52
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Mon, 23 Nov 2026 05:49:52 -0800 (PST)
Received-SPF: pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) client-ip=216.105.38.7;
Authentication-Results: mx.google.com;
dkim=pass header.i=@lists.sourceforge.net header.s=beta
header.b=lnTIs5Sv;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=O3OdsPCT;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=B3m8cTUH;
spf=pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net;
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:
List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:
Subject:MIME-Version:References:In-Reply-To:Message-ID:Date:To:From:Sender:
Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post:
List-Owner; bh=LILaqr3At118ZyH/U+6Hu5IFPl0r+defZOfMtQngytk=; b=lnTIs5Sv7r3DHW
ewxhArqWkymd8ilbu/2OXScoEDIRMyo2gfR8rqaMCaf2gW+e0cmHbObTS8hJMBLWfE+e8YJ7pWAUr
Jwu41wxVGqkZHGcSdWJ0gm1FgFed7ya+eOyWTK5E+7YVh0B3dVFX90wQMbsYATkI/KPOoH/S9tpSz
cu0=;
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.100.1)
(envelope-from <openvpn-devel-bounces@lists.sourceforge.net>)
id 1xVUQZ-000000001Ty-1aIP;
Mon, 23 Nov 2026 13:49:51 +0000
Received: from [172.30.29.66] (helo=mx.sourceforge.net)
by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1)
(envelope-from <gert@blue4.greenie.muc.de>)
id 1xVUQX-000000001Tr-0vuK for openvpn-devel@lists.sourceforge.net;
Mon, 23 Nov 2026 13:49:49 +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:References:
In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive;
bh=qeuBd56TcL8YovhrOQ1cdjf8bK2RUyAIWhC6KPY3VQc=; b=O3OdsPCTleKQhs0heIsxHQWojE
iNsB5TymlPbVuBsIbqO68+FcPv5EWKj4HrXcUNJ9diIXilU+cnF5evS1GEDP9cwL6J1pbLrEqfcOu
E+LWAeSRbhm6SIffFznFH0eTphZO43NCwr5d1ShvOw7eYCCFiYVa/DrWf+TEAtpy8TWo=;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x
;
h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:
Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Unsubscribe-Post:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=qeuBd56TcL8YovhrOQ1cdjf8bK2RUyAIWhC6KPY3VQc=; b=B3m8cTUHwPMkajZh8KduLd8Hqp
viDVLBLYzzKf8K+KEkhdib6W7BqNT+qI7ImkWrvn9SzUQbdGYv3mTh5AEFyBghtcvrY21tMlx1ZcC
u7LCR5WV5koZA832AZdn+RGjB4qmgrSf0lg0t7uK6kRLGgKtDjMIcr59nn1PiqHd8cps=;
Received: from [193.149.48.129] (helo=blue.greenie.muc.de)
by sfi-mx-1.v28.lw.sourceforge.com with esmtps
(TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1)
id 1xVUQQ-000000003cC-1RVw for openvpn-devel@lists.sourceforge.net;
Mon, 23 Nov 2026 13:49:49 +0000
Received: from blue.greenie.muc.de (localhost [127.0.0.1])
by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 6ANDnZOh031854
for <openvpn-devel@lists.sourceforge.net>; Mon, 23 Nov 2026 14:49:35 +0100
Received: (from gert@localhost)
by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 6ANDnZ1A031853
for openvpn-devel@lists.sourceforge.net; Mon, 23 Nov 2026 14:49:35 +0100
From: Gert Doering <gert@greenie.muc.de>
To: openvpn-devel@lists.sourceforge.net
Date: Mon, 23 Nov 2026 14:49:30 +0100
Message-ID: <20261123134935.31769-1-gert@greenie.muc.de>
X-Mailer: git-send-email 2.55.0
In-Reply-To:
<gerrit.1795378662000.Id142eda108dd4385dcdc263a4842aeb314a12f41@gerrit.openvpn.net>
References:
<gerrit.1795378662000.Id142eda108dd4385dcdc263a4842aeb314a12f41@gerrit.openvpn.net>
MIME-Version: 1.0
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software,
running on the system "sfi-spamd-2.hosts.colo.sdot.me",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: From: Razvan Cojocaru <razvanc@mailbox.org>
tls_session_generate_data_channel_keys()
already logs "generate_key_expansion failed"; tls_multi_process() repeated
it. Change-Id: Id142eda108dd4385dcdc263a4842aeb314a12f41 Signed-off-by:
Razvan
Cojocaru <razvanc@mailbox.org> Acked-by: Frank Lichtenheld
<frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/o [...]
Content analysis details: (1.3 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
X-Headers-End: 1xVUQQ-000000003cC-1RVw
Subject: [Openvpn-devel] [PATCH v1] ssl: don't log key generation failure
twice
X-BeenThere: openvpn-devel@lists.sourceforge.net
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <openvpn-devel.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive:
<http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel>
List-Post: <mailto:openvpn-devel@lists.sourceforge.net>
List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: openvpn-devel-bounces@lists.sourceforge.net
X-getmail-retrieved-from-mailbox: Inbox
X-GMAIL-THRID: 1882657172631513250
X-GMAIL-MSGID: 1882657172631513250
|
| Series |
[Openvpn-devel,v1] ssl: don't log key generation failure twice
|
|
Commit Message
Gert Doering
Nov. 23, 2026, 1:49 p.m. UTC
From: Razvan Cojocaru <razvanc@mailbox.org> tls_session_generate_data_channel_keys() already logs "generate_key_expansion failed"; tls_multi_process() repeated it. Change-Id: Id142eda108dd4385dcdc263a4842aeb314a12f41 Signed-off-by: Razvan Cojocaru <razvanc@mailbox.org> Acked-by: Frank Lichtenheld <frank@lichtenheld.com> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2239 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2239 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Frank Lichtenheld <frank@lichtenheld.com>
Comments
We must complain about failures! Loudly, multiple times! No?
Anyway :-) - good fix, but not really important for 2.7
Your patch has been applied to the master branch.
commit f42b9083a410ea28adbe69ccd5ae48d7b9ff7a9e
Author: Razvan Cojocaru
Date: Mon Nov 23 14:49:30 2026 +0100
ssl: don't log key generation failure twice
Signed-off-by: Razvan Cojocaru <razvanc@mailbox.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2239
Message-Id: <20261123134935.31769-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg41823.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c index d5ae13d..eb6b86f 100644 --- a/src/openvpn/ssl.c +++ b/src/openvpn/ssl.c @@ -3504,7 +3504,6 @@ enum key_gen_status status = tls_session_generate_data_channel_keys(multi, session); if (status != KEY_GEN_OK) { - msg(D_TLS_ERRORS, "TLS Error: generate_key_expansion failed"); ks->authenticated = KS_AUTH_FALSE; key_state_ssl_shutdown(&ks->ks_ssl); ks->state = S_ERROR_PRE;