From patchwork Tue Nov 8 05:05:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Glenn Strauss X-Patchwork-Id: 1701216 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=) 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=u+nN/WfJ; dkim-atps=neutral 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 (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4N63800HXfz23lW for ; Tue, 8 Nov 2022 20:43:43 +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=VOJnCDNjljeOyOea2XmVj9+keahEW3oEglwVAZAOwjU=; b=u+nN/WfJYU9YlP OsavOfY1XMwkjjyDRlKJo2YHqRTwR+a1SkjN7D4cOu+vdib0EymtItYcu2pRSTaMMZoPVEGATGFsZ u2//fVxYu+Nj8tgrMa0BMpnkSvsoiRcHmhD1zimYohVfIBb8WQt0Wli71dGjM4a1E62H0mbXnSppQ PXk1x4sapVLeLPrxFRyQQXPOWmv2d36Ef2mbYo1YJXNIKcjrL3o3Nn9dmnW+PmUuXeZc/w/+GVOcZ Lf8KKAsNabTaky/YWA86BeLn+qHMan0xu+go+LRnbQGkzQWNlVtLDBts1a2VbS+bObtnCiEQlGqAz t3vrA3+e9fFOUEtblUaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osL8H-004B86-38; Tue, 08 Nov 2022 09:43:01 +0000 Received: from smtp1.atof.net ([52.86.233.228]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osGoR-002sbc-QI for hostap@lists.infradead.org; Tue, 08 Nov 2022 05:06:17 +0000 X-Spam-Checker-Version: smtp.atof.net X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.4 TXREP TXREP: Score normalizing based on sender reputation X-Spam-Language: en fr X-Spam-Relay-Country: X-Spam-DCC: B=MGTINTERNET; R=smtp1.atof.net 1170; Body=2 Fuz1=2 Fuz2=2 X-Spam-RBL: X-Spam-PYZOR: Reported 0 times. From: Glenn Strauss To: hostap@lists.infradead.org Cc: Glenn Strauss Subject: [PATCH 5/6] update tls_connection_set_verify() tls.h comment Date: Tue, 8 Nov 2022 00:05:53 -0500 Message-Id: <20221108050554.43345-5-gstrauss@gluelogic.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221108050554.43345-1-gstrauss@gluelogic.com> References: <20221108050554.43345-1-gstrauss@gluelogic.com> Mime-Version: 1.0 X-Mime-Autoconverted: from 8bit to 7bit by courier 0.78 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_210616_009034_1502439B X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) 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: Signed-off-by: Glenn Strauss --- src/crypto/tls.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/crypto/tls.h b/src/crypto/tls.h index 7a2ee32df..bac612ab5 100644 --- a/src/crypto/tls.h +++ b/src/crypto/tls.h @@ -353,7 +353,8 @@ int __must_check tls_global_set_verify(void *tls_ct [...] Content analysis details: (-2.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [52.86.233.228 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 X-Mailman-Approved-At: Tue, 08 Nov 2022 01:42:26 -0800 X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Glenn Strauss --- src/crypto/tls.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/crypto/tls.h b/src/crypto/tls.h index 7a2ee32df..bac612ab5 100644 --- a/src/crypto/tls.h +++ b/src/crypto/tls.h @@ -353,7 +353,8 @@ int __must_check tls_global_set_verify(void *tls_ctx, int check_crl, * tls_connection_set_verify - Set certificate verification options * @tls_ctx: TLS context data from tls_init() * @conn: Connection context data from tls_connection_init() - * @verify_peer: 1 = verify peer certificate + * @verify_peer: 0 = do not verify peer cert, 1 = verify peer cert, + * 2 = optional peer cert verification (non fatal) * @flags: Connection flags (TLS_CONN_*) * @session_ctx: Session caching context or %NULL to use default * @session_ctx_len: Length of @session_ctx in bytes.