From patchwork Wed Oct 23 10:23:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1182024 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.b="LXxykt50"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46ymqb0ZR7z9sNx for ; Wed, 23 Oct 2019 21:30:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 568698763B; Wed, 23 Oct 2019 10:30:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ylQ8vFAcCH3X; Wed, 23 Oct 2019 10:30:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4D668875B4; Wed, 23 Oct 2019 10:30:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 83F491BF5B3 for ; Wed, 23 Oct 2019 10:30:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8135286228 for ; Wed, 23 Oct 2019 10:30:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id It8ziuHjJk7a for ; Wed, 23 Oct 2019 10:30:41 +0000 (UTC) X-Greylist: delayed 00:07:07 by SQLgrey-1.7.6 Received: from smtpcmd04131.aruba.it (smtpcmd04131.aruba.it [62.149.158.131]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6148B85B2F for ; Wed, 23 Oct 2019 10:30:41 +0000 (UTC) Received: from ubuntu.localdomain ([146.241.226.178]) by smtpcmd04.ad.aruba.it with bizsmtp id GyPX2100D3raXWS01yPYe7; Wed, 23 Oct 2019 12:23:32 +0200 From: Giulio Benetti To: buildroot@buildroot.org Date: Wed, 23 Oct 2019 12:23:28 +0200 Message-Id: <20191023102330.20842-2-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191023102330.20842-1-giulio.benetti@benettiengineering.com> References: <20191023102330.20842-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1571826212; bh=G7iXVy3giseIOsD031AX8/49Q40dtQ36/B790Nle7Tc=; h=From:To:Subject:Date:MIME-Version; b=LXxykt50oZEgKt62mANPPZxeQBrmig7K907Ln7viqQJSsWCI02BVMGAJ7xRDx0EXh LLBVbTKu6bEac5ywh+x3OE7TB6f0YOJchjbM9ZGZjj3NwucaBUUU+LiGswZjzffZxm craIXs18zVe8bphDI2KJ8fh5KuJDy6P9yltE/p9HLKPL7InZOqQVtjF1vLfilmFuGe 4wggyQbFNGCbb8CR+r21iv5MfNRZN00Cwf4Z1QMK0gAgSdHNdjIQYTOIwrW4MUNZdE oL9OP2pzaSFiRXnh34i0DzdESMd4QgZ0geDMr6+T4hCHbdWvGTyDzogdT9K7bc4BLq IBqhsAT0I1I6A== Subject: [Buildroot] [PATCH 2/4] package/libnss: fix build warning X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joseph Kogut , Giulio Benetti Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add patch to fix build warning due to uninitialized variable. Signed-off-by: Giulio Benetti --- https://bugzilla.mozilla.org/show_bug.cgi?id=1590678 --- ...ve-Wmaybe-uninitialized-warning-in-t.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/libnss/0004-Bug-1590678-Remove-Wmaybe-uninitialized-warning-in-t.patch diff --git a/package/libnss/0004-Bug-1590678-Remove-Wmaybe-uninitialized-warning-in-t.patch b/package/libnss/0004-Bug-1590678-Remove-Wmaybe-uninitialized-warning-in-t.patch new file mode 100644 index 0000000000..956abeb4a5 --- /dev/null +++ b/package/libnss/0004-Bug-1590678-Remove-Wmaybe-uninitialized-warning-in-t.patch @@ -0,0 +1,27 @@ +From 24bcc8860310149da1524dbf25f3bc77f6476b11 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 23 Oct 2019 11:58:12 +0200 +Subject: [PATCH] Bug 1590678 - Remove -Wmaybe-uninitialized warning in + tls13esni.c + +Signed-off-by: Giulio Benetti +--- + nss/lib/ssl/tls13esni.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/nss/lib/ssl/tls13esni.c b/nss/lib/ssl/tls13esni.c +index 4d2e12d62..a7ce6f568 100644 +--- a/nss/lib/ssl/tls13esni.c ++++ b/nss/lib/ssl/tls13esni.c +@@ -728,7 +728,7 @@ tls13_ServerDecryptEsniXtn(const sslSocket *ss, const PRUint8 *in, unsigned int + { + sslReader rdr = SSL_READER(in, inLen); + PRUint64 suite; +- const ssl3CipherSuiteDef *suiteDef; ++ const ssl3CipherSuiteDef *suiteDef = NULL; + SSLAEADCipher aead = NULL; + TLSExtension *keyShareExtension; + TLS13KeyShareEntry *entry = NULL; +-- +2.20.1 +