From patchwork Sun Oct 23 17:09:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Sinyak X-Patchwork-Id: 685550 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t25Yj4J4Tz9t74 for ; Mon, 24 Oct 2016 04:11:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=v4xrNwFT; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1byMIk-0002wO-RV; Sun, 23 Oct 2016 17:11:14 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1byMIh-0002vW-Qa for hostap@lists.infradead.org; Sun, 23 Oct 2016 17:11:12 +0000 Received: by mail-lf0-x241.google.com with SMTP id x79so9109029lff.2 for ; Sun, 23 Oct 2016 10:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=QRczSI0K7blqIP+E/8JYLlqBRZtOk0HYXbQcCAJyudo=; b=v4xrNwFT9PRlog/DTn1pH80qFRgsMX6xYfLc1K39rxUgoCjwWJc4x145mkLGTmMXjA 7Mb0LYWb+U3bQbi3Io5F0cplSn2lvdxAPO78Kmbw5H7D5cYP8/+eZ3F/b+bZfTkGekJD 406DPZduHwIunrFervw8duAnlPuHZaW2V1SG8Yxs0PxyHNvt/faufYw7HiEDioWNqUiZ uyJGaPuSEby19o8vao86DjX67ssxnz0JyGMoCCPiUvKRvkjmxTK1XuPhHWOOfcHOCaoV odEdLpndcBTUeBAtxUyMB9rF1uut7ghgw2YiPGkxaxBV+K7vzRQd2t5S51fP/hgzuFNm A/Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QRczSI0K7blqIP+E/8JYLlqBRZtOk0HYXbQcCAJyudo=; b=fZ0OR5Ph6ek9cJwmNgKtjbIZTVYxwO5Wx5+P7ftrugGg2kEVCDJamNpX5NsDkjNNxi LyonZGD32WyvhZGbkTEuo2yBWYww8eaEBxZ+q1H92QhFvKp3CGYOoPyxk3EUU+WT5sxY wZkuy2y97FSP8Oo/xI+kWj/NZYkck+TorB8BXLxasvZ8gNE3SJKrVoBwziGTDK5E17qX gjN8DZt3rZrNl7UUVQ9lgMYA7ikjsfB0eQ40IN2B24X6LFp83QN8hX3aBey/fwhfuF6b YI1EkwQtMTtc8fQL9YAUutTorhLZ6jo6XvQPaMjDscbE8GQlz9xTi3sD4PGl9XkJs6qB kxwQ== X-Gm-Message-State: ABUngvdfFNBAcLt+2m9R0vsAslBfrKWm1CJTK/bqPjL0jwyOypuKJgkDyyah10fuaOTM7Q== X-Received: by 10.25.190.69 with SMTP id o66mr5297211lff.109.1477242649225; Sun, 23 Oct 2016 10:10:49 -0700 (PDT) Received: from localhost.localdomain (mm-149-183-84-93.dynamic.pppoe.mgts.by. [93.84.183.149]) by smtp.gmail.com with ESMTPSA id o77sm2273960lff.21.2016.10.23.10.10.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Oct 2016 10:10:48 -0700 (PDT) From: Sergei Sinyak To: hostap@lists.infradead.org Subject: [PATCH] Fix typo in DigestAlgorithn Date: Sun, 23 Oct 2016 20:09:59 +0300 Message-Id: <20161023170959.23030-1-serega.belarus@gmail.com> X-Mailer: git-send-email 2.10.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161023_101112_142286_562834E4 X-CRM114-Status: UNSURE ( 6.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (serega.belarus[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergei Sinyak MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Replace n with m in DigestAlgorithn, i.e. DigestAlgorithm Signed-off-by: line for the commit message so that I can apply this? --- src/tls/tlsv1_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tls/tlsv1_common.c b/src/tls/tlsv1_common.c index 6b28417..67b55db 100644 --- a/src/tls/tlsv1_common.c +++ b/src/tls/tlsv1_common.c @@ -482,21 +482,21 @@ int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk, os_memcmp(buf, "\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01" "\x65\x03\x04\x02\x01\x05\x00\x04\x20", 19) == 0) { - wpa_printf(MSG_DEBUG, "TLSv1.2: DigestAlgorithn = SHA-256"); + wpa_printf(MSG_DEBUG, "TLSv1.2: DigestAlgorithm = SHA-256"); decrypted = buf + 19; buflen -= 19; } else if (buflen >= 19 + 48 && os_memcmp(buf, "\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01" "\x65\x03\x04\x02\x02\x05\x00\x04\x30", 19) == 0) { - wpa_printf(MSG_DEBUG, "TLSv1.2: DigestAlgorithn = SHA-384"); + wpa_printf(MSG_DEBUG, "TLSv1.2: DigestAlgorithm = SHA-384"); decrypted = buf + 19; buflen -= 19; } else if (buflen >= 19 + 64 && os_memcmp(buf, "\x30\x51\x30\x0d\x06\x09\x60\x86\x48\x01" "\x65\x03\x04\x02\x03\x05\x00\x04\x40", 19) == 0) { - wpa_printf(MSG_DEBUG, "TLSv1.2: DigestAlgorithn = SHA-512"); + wpa_printf(MSG_DEBUG, "TLSv1.2: DigestAlgorithm = SHA-512"); decrypted = buf + 19; buflen -= 19;