Message ID | 20190928181807.180530-2-alexander@wetzel-home.de |
---|---|
State | Superseded |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=wetzel-home.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gi9jmQwZ"; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=wetzel-home.de header.i=@wetzel-home.de header.b="J/lRhmGe"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46gcQ52MY7z9sNk for <incoming@patchwork.ozlabs.org>; Sun, 29 Sep 2019 04:19:41 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Tke3/Ep9cQYElhk0M1lYC/p+vJwaUa1J8bcdarHwzGU=; b=gi9jmQwZCqtWsI GX/tXw6rEz3w+3guiWEIjUpgYHGtEKCL/SzAZo7v5Q9TxKnVzarlRa7y/euvh7G/jnG4YVkrJd7co DdEFWlFKldene3Qv46oaFvpqKzDfhAyMHbBqcsu1ACwG2i1WPYwqCP9lR88fP9MGNq7dXS6OOcw3N 8/tkin8qDNsDVSh8fOlRn2rOaiONDws+mfVNkQpAkrQjOJgNTSo4DNXvzh5xtdJ9LnnJvuxwBEV1V klH18WKnM3z7kIZAM+NeDjtZKZV5Nw+VjQVhMNthQvcQBblSKZ5K3xDChQObHRobbb/ZgvowG8+em GOkgaJUGtugZpqB3EsxQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iEHJh-0001NT-82; Sat, 28 Sep 2019 18:19:37 +0000 Received: from 5.mo179.mail-out.ovh.net ([46.105.43.140]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iEHJL-00010P-21 for hostap@lists.infradead.org; Sat, 28 Sep 2019 18:19:18 +0000 Received: from player792.ha.ovh.net (unknown [10.108.57.141]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id 669C5143507 for <hostap@lists.infradead.org>; Sat, 28 Sep 2019 20:19:08 +0200 (CEST) Received: from awhome.eu (p4FF9144D.dip0.t-ipconnect.de [79.249.20.77]) (Authenticated sender: postmaster@awhome.eu) by player792.ha.ovh.net (Postfix) with ESMTPSA id B027DA697DC2; Sat, 28 Sep 2019 18:19:04 +0000 (UTC) From: Alexander Wetzel <alexander@wetzel-home.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wetzel-home.de; s=wetzel-home; t=1569694742; bh=t5gFjehdROo9jrhN7icf4WLDsXkjOnGRnHlej90/6AA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=J/lRhmGepc0eiipiRUNnUO3BpJ8EYsjqVYozdbDwDrThyS/8Ig8vdMMl9toLZKpz2 P88s6uqsYohW3xZDMapQ7dSVMScu8u/fGWUiyLD5a4vK+BBYBxMa7fctwS4o+GFgQ3 6akSYl3beZB99ohCN3ugLnvmU77er/eoZfpvIJkM= To: j@w1.fi Subject: [PATCH v6a 1/7] Fixes for hostapd: Set the correct key_type for key installs Date: Sat, 28 Sep 2019 20:18:01 +0200 Message-Id: <20190928181807.180530-2-alexander@wetzel-home.de> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190928181807.180530-1-alexander@wetzel-home.de> References: <20190928181807.180530-1-alexander@wetzel-home.de> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11825326722921209084 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrfeekgdduvddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenuc X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190928_111915_390554_DD30F8A2 X-CRM114-Status: GOOD ( 12.15 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [46.105.43.140 listed in list.dnswl.org] 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_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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.29 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> Cc: Alexander Wetzel <alexander@wetzel-home.de>, hostap@lists.infradead.org, luca@coelho.fi, johannes@sipsolutions.net 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 |
Fixes for Extended Key ID patch series V6
|
expand
|
diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c index b45eef94b..2f2099dc7 100644 --- a/src/ap/ieee802_1x.c +++ b/src/ap/ieee802_1x.c @@ -286,7 +286,7 @@ static void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) if (hostapd_drv_set_key(hapd->conf->iface, hapd, WPA_ALG_WEP, sta->addr, 0, NULL, 0, ikey, hapd->conf->individual_wep_key_len, - KEY_TYPE_DEFAULT)) { + KEY_TYPE_PAIRWISE)) { wpa_printf(MSG_ERROR, "Could not set individual WEP encryption"); }
This is a correction on top of: [PATCH v6 05/17] hostapd: Set the correct key_type for key installs Changes: - Change one wrong key_types to the correct one The original commit message also is wrong. It should be: In addition to the set_tx boolean this also sets the corresponding new variable key_type for all key installs. Till set_tx is dropped drivers can use either set_tx or key_type, allowing a seamless migration to key_type. Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de> --- src/ap/ieee802_1x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)