Message ID | 20240404181630.2431991-15-juliusz@wolfssl.com |
---|---|
State | New |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=AGfM3vmQ; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=wolfssl-com.20230601.gappssmtp.com header.i=@wolfssl-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=dWI6axcK; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V9Wf45WkZz23tv for <incoming@patchwork.ozlabs.org>; Fri, 5 Apr 2024 06:19:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y0b8E1Mt5tR5mNvmfSy4BAd52JYjdR12S8ulN2nw64M=; b=AGfM3vmQ45tSl0 G7BnJXHaRGwqVoAW6/iVvTyggZ7wi8xw7aRIIeKBrmMivYQhnT4x4UpTsGSk6gZoehQQyMIAJJ04s 4d+FJC3cg259AQNyiQchIz5Rg5hLv1uhViYoYq8AgjG/wXghYniopLndml3JBBX5Q397CBAIyhSFE gdEa1IIw7jRuZxDlzDHj3hnyWi7wYwLXYZJ1YXumW0tD5Xqag6dysXM2e3XgHRXUgR5oI6xdK3SPZ nOP3dXlh3E0XvN8EsyNk3NzCHNhrSScjiKHbarvncKhfcVrw4Z6HCRlUkD3L/oc8lJ7p90Ak25dr6 EYh+lobXJCqhFl2AY7Ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsSch-000000040cC-1gVL; Thu, 04 Apr 2024 19:19:43 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsReE-00000003ml5-0gUN for hostap@lists.infradead.org; Thu, 04 Apr 2024 18:17:16 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-516bfcc76efso1378116e87.3 for <hostap@lists.infradead.org>; Thu, 04 Apr 2024 11:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfssl-com.20230601.gappssmtp.com; s=20230601; t=1712254631; x=1712859431; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TMbie5zVxts0hl8Cec3ppbHroMp3sYTb4zC51juX6oM=; b=dWI6axcKndZWfJQM8mYwxQToPew1ZiATGTU1t9uZaV4M/LoaWvIZ78EbrbM7F0yGPx m81NlkZkG7m/j9LOod0Ycnjo2uPFtcT/bzesgjcOt9Y2iRALHnLaReqCwooGJaxQG6Er ljCl5KlWJz3E58+fWKCO9/263/BTev80Y3Zl4HcgAsYexhyaiA+gTBnWtrVgdBph6/za 644eayPBzcbQIIxy0eN7Ovjtz71402Ije1ctJOl8kTFkTk9V7U1Cpim+22/b1C9maZmE Tx/5FXiu3i96UIOrxySxgn4A6c9iUUgOscALgyL6JTbD7k2MlD/Gent/COhtclA/kTaS IPZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712254631; x=1712859431; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TMbie5zVxts0hl8Cec3ppbHroMp3sYTb4zC51juX6oM=; b=PWuGxxm6o2dRokqfrrBxkmE4bk8bHbMnyPJaTlW3gOC8sLrutEeqGUh/xU+aMoGYKS 3xPFgSrPnfl6QvMwxNYsPwef4WpacyIm1+fmfXZi4ibbsVLIRNwl7X3XjrPuP815aIya 3I2BePxVrzz8mt55l9byjyY+DqwYL6x5klee/3UPu+FfzPDKlHmjQRyXCwJZTz44QEwG jbZSP2zPp5ktjGrPGS1MqYZswsxN27Rvm2h2YCSqCQkWXFaK0ZjFpR2e+yZl3fxpNGtT s+U5/ySdy+6ZEkgRyXN2G8pNtLAX4ccN4+3MO1yByWCNfKgCwD0lgvwcsJ5JOJELN7hk z/ZA== X-Gm-Message-State: AOJu0YxUisZYoJqDwTxjKwoUEHE7fKkWj6c0LZmRxs3UB/0U3vKRqtoD /ETs8Ggcrv6ZCtsJH6RDKXJQxruuUNnXxNL+4QqlljOPr83SXZP5nYBfaH4NhpMav/yZV6aOcUU 8DKY= X-Google-Smtp-Source: AGHT+IGiXX7RirZqU/MY2h5hawEnPBTDATaOXZCz0Qna9/LOHap/WPnafAqi0ZHuU7r4wBYgmZUkPQ== X-Received: by 2002:a05:6512:484a:b0:516:7739:354c with SMTP id ep10-20020a056512484a00b005167739354cmr2287424lfb.58.1712254630779; Thu, 04 Apr 2024 11:17:10 -0700 (PDT) Received: from localhost.localdomain ([82.118.30.15]) by smtp.gmail.com with ESMTPSA id dh26-20020a0564021d3a00b0056e0b358e86sm1976349edb.97.2024.04.04.11.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 11:17:10 -0700 (PDT) From: Juliusz Sosinowicz <juliusz@wolfssl.com> To: hostap@lists.infradead.org Cc: Juliusz Sosinowicz <juliusz@wolfssl.com> Subject: [PATCH 15/24] wolfssl: log error number on failure Date: Thu, 4 Apr 2024 20:16:21 +0200 Message-Id: <20240404181630.2431991-15-juliusz@wolfssl.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240404181630.2431991-1-juliusz@wolfssl.com> References: <20240404181630.2431991-1-juliusz@wolfssl.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240404_111714_340636_5DAFDA7E X-CRM114-Status: GOOD ( 10.57 ) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", 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: Log raw error number after wolfSSL_accept or wolfSSL_connect error. Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com> --- src/crypto/tls_wolfssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:135 listed in] [list.dnswl.org] -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 Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
[01/24] wolfssl: simplify tls_get_cipher
|
expand
|
diff --git a/src/crypto/tls_wolfssl.c b/src/crypto/tls_wolfssl.c index f126c37479..360a4a3b48 100644 --- a/src/crypto/tls_wolfssl.c +++ b/src/crypto/tls_wolfssl.c @@ -1824,9 +1824,9 @@ static struct wpabuf * wolfssl_handshake(struct tls_connection *conn, char msg[80]; wpa_printf(MSG_DEBUG, - "SSL: %s - failed %s", + "SSL: %s - failed (%d) %s", server ? "wolfSSL_accept" : - "wolfSSL_connect", + "wolfSSL_connect", err, wolfSSL_ERR_error_string(err, msg)); conn->failed++; }
Log raw error number after wolfSSL_accept or wolfSSL_connect error. Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com> --- src/crypto/tls_wolfssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)