Message ID | 20201224132312.156475-2-toertel@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCEMDFWL6ALRBSVMSL7QKGQEO7YLIAA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::13c; helo=mail-lf1-x13c.google.com; envelope-from=swupdate+bncbcemdfwl6alrbsvmsl7qkgqeo7yliaa@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=KZmOPdRa; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ZYhgcG08; dkim-atps=neutral Received: from mail-lf1-x13c.google.com (mail-lf1-x13c.google.com [IPv6:2a00:1450:4864:20::13c]) (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 4D1rPC3DxMz9sTc for <incoming@patchwork.ozlabs.org>; Fri, 25 Dec 2020 00:23:26 +1100 (AEDT) Received: by mail-lf1-x13c.google.com with SMTP id m20sf1466484lfl.20 for <incoming@patchwork.ozlabs.org>; Thu, 24 Dec 2020 05:23:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608816202; cv=pass; d=google.com; s=arc-20160816; b=AsM9HW+ecYaDIOW+74bJU0oGyysQzDrlvL6uhbWF7+f7okSYkqPhiViVxTwdTXK3he kbY2vPFU0XSapJerIfpOOfRRvFRrdCbIZIjTYqCn7C9MFsPTQJBpBEGck3risZPHKYx0 5lMj6ijUKHhYiS8PKuMigDVjK/fcPv0oVXZPVBOlM5dtvFzFWDy3y+lrZBoogPUZy8MB qpl8L6SGnsLBonI2x100H7GX/Kyvcz0fPoi5pwLfB5wQtub5TCMlLqJfq9bdO/MW5MJm PRiq1QReeY3Ll3FufG/YM1l/xvI696KbDdjCMc/yaYexLFhZCcM7VxZRdHAz5oo0nr2c I4fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature :dkim-signature; bh=sVUAhYGk3zYKvHS1tOKPKKNbLjz30sizgSeDzqQEacg=; b=0a0Ii/7Jl1Cnz+2msrhiFfen8Zrk7iVToQ3bQqUuMN34PGGH6W7tdlkvVi4ieybHZv 9me2NIQtC3P6pBNY/zUP0Ckn31+JfVJD34AX76cQqE2VtuvxBnfaTEOEO7TkEimvXYqx FVRqRuDcPUK6r0hw4tXLk/XFkg/f3PNl9TJhNUa/bm7rwqDzy0Y24BjCklSn7qusRZST hbvYx3Rmnm+y6u2f8GbH9iUBwmebiuX7meKiAPLpiT8a2HJtReWCo2ul5XxzU/AuddD5 kb9oAaJdIBQYBekRnKh0o6wr7UWGrX2qRUcFFqCj6fJFhw6r+lq9PQMWfAL3HXnlNxeK dxyw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AjLVHQky; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::32e as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=sVUAhYGk3zYKvHS1tOKPKKNbLjz30sizgSeDzqQEacg=; b=KZmOPdRan70KGO1x+519GX6O8WbC0xHhq2d0Hhl/GdUACVJvsqCgmxJJi8BGqCySWG KED6BdiRgwXO0khjaWgx+coVjZvQys6pWqivriAoGfR7YddRxmiM6vUPtFh3z3EYWEPa gyUXyluc3yq+h03fNb+t63AjTyC7Ob836L9Jq72XWUNG4FapTTn76YpQW1JKrDoewzD4 tUoIMgCmOwKSCEn0t1RUxfQO4Wttu8JWMqycaG37b/i9gIH5tf1YNlpFHeppgyhom8gQ eSp5YWqzpjphvGGt5tpUSCxcDpSHmlEFDxOHtEq1w/OFDxHmqeY0saCAGv4Al6DmC8qP XPZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=sVUAhYGk3zYKvHS1tOKPKKNbLjz30sizgSeDzqQEacg=; b=ZYhgcG08eTgDWiTrV0lZLZn+PKFR5ieaDMweNc0fcPj7ZR3fJSUFVDXZLjCIuMTflu 4KPhgVHDPp1B2khR3HM5UU5KoHqjzTA1L+ETQ53nQMiBVsu/RpozZHr7HXjXYFEHrXwV I+uT4a7Ewsjf6eBFZIKtATJQMM4JzCyZeayL67RZ2jM2XsHBKYD6M3jZxH0mZfEFNJMq Q0UHy4KbL0zNpfHmYXvmuVA8hWMXq7nxsrqiHV+niI2u2L0R9hr0YVH/FnJGc5Hs/N2x 4NO52BD2eeV2St5CgxZVs1N++ij7EEGZvOWkrx360rEFAtUiSRpKKVGqyeG9K+yxcppp i5kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=sVUAhYGk3zYKvHS1tOKPKKNbLjz30sizgSeDzqQEacg=; b=o8dGN3FMnzvw2yeUf4URUnv3G2CWcKd4wheCBl0RraqnhXcJvgYVejxUc3Qcwecfkq 8UHTKcwR0446Ob9zhvAzjYsLpHxIJlB2Kjyb0cspa5eqNtIX1IEytKbax0hpUNF9Ja2W rWfm2YvaxPsPuk2itB0VXA06vfDsNH/OW2vue1FI67AIHurZe0+SBFti1fQqgZA+e+qJ wgnWnKshoERRQnbskAcfqV8pK+27RBxHYbi9DT5gmm6E0iIP3fboN0KE1rVGoLSkhi// EVQCJeBJBBD0NFkKAyavdUUOFl1xtoWo2Cc5sDwZJbSgY4wBz6EgW8tu/fsIk1coXBJi Y1FQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM532WmgArhE2eMSM64WDkIjSSvCZ9zhPCYiXnVwnG9I0qiK0F82FB OZ7nKW7KBABEvV+O2iPP8fc= X-Google-Smtp-Source: ABdhPJz7FE8CByfwwttjqBzFj8IQZlM3Jav0uWzPn0ZyJVaOztAaQGoP0dOU7iMgTg/stJvfYK48WA== X-Received: by 2002:a19:651a:: with SMTP id z26mr12272489lfb.306.1608816202631; Thu, 24 Dec 2020 05:23:22 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a19:c1cd:: with SMTP id r196ls6118978lff.1.gmail; Thu, 24 Dec 2020 05:23:21 -0800 (PST) X-Received: by 2002:a19:40d6:: with SMTP id n205mr12228300lfa.24.1608816201400; Thu, 24 Dec 2020 05:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608816201; cv=none; d=google.com; s=arc-20160816; b=ma5e11Ayjlj905Cep/mQpIWWYzyi40VVnn+m1fXBLBNBWtnJxhw+Poe5AH2Jf6VRTI Ubu8Ik/IMB0qt9dfIytGVqZtj1Ahd9D5ADXQzNZUYbA+TKtzqc8G//+bHCFs2oST9naS 8eaBOGUgVlOhMUDRdayA/t+V1VCxf1TRG6MJrtV8FrA/UauaM+u7xIVOKA5OTYVXbSK8 A4yq0ZAJygRSDeW2Sc+7FnnYEmWd1zlNLW90933/K/m0MW1mA8VXYEFGJP2MWyRuSv0i 4OOAIxTeb34+KrLjDWEllylCaFQRu3aef+gzlRw7DVrCwg1I5vFdsU0BCLgoOgLzFG5s osfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=BaiwYLXQK/WJilMpTbtulKp95f+5ZdzMaNQIk25TODk=; b=JIS1AI9JDI8CLcv6cuU0/Tpz9Vxh33x1t12BD7hXwsTgihjUtclgAiUDuOr22New2s RQz5mZawF0j7KsBehR2wNNrs1a9/AguRROy40q+gQPru+2jx0pJ8ub4cuQ3RWW8+MXdd 3lZBWGFwm11uFm5Xganxy2M7QwJPQctkZMOwDGBoW5AQfj8hWjHZ8DBLDj9j8E1vEl/y 3iUvI9Vr467l9LAD6YCiT0tN/kj9N9hq0ClmRoLZg8yPZ5x7n1E1WHkP8Y3cOZVNv1La xF6wuYKKz53PQo2MxU5mGE7gkHsVPDtTffIknECE5KZjKwnS18TOCtfDYIgPGtQzv2ol J47A== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AjLVHQky; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::32e as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com. [2a00:1450:4864:20::32e]) by gmr-mx.google.com with ESMTPS id z4si337427lfr.7.2020.12.24.05.23.21 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Dec 2020 05:23:21 -0800 (PST) Received-SPF: pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::32e as permitted sender) client-ip=2a00:1450:4864:20::32e; Received: by mail-wm1-x32e.google.com with SMTP id r4so1626797wmh.5 for <swupdate@googlegroups.com>; Thu, 24 Dec 2020 05:23:21 -0800 (PST) X-Received: by 2002:a05:600c:cc:: with SMTP id u12mr4536238wmm.42.1608816200727; Thu, 24 Dec 2020 05:23:20 -0800 (PST) Received: from gigabyte.fritz.box (p200300cfaf2daf00f584062148c1375e.dip0.t-ipconnect.de. [2003:cf:af2d:af00:f584:621:48c1:375e]) by smtp.gmail.com with ESMTPSA id n3sm37771130wrw.61.2020.12.24.05.23.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Dec 2020 05:23:20 -0800 (PST) From: Mark Jonas <toertel@gmail.com> To: swupdate@googlegroups.com Cc: Mark Jonas <toertel@gmail.com> Subject: [swupdate] [PATCH 2/2] util: Whitespace fixes Date: Thu, 24 Dec 2020 14:23:12 +0100 Message-Id: <20201224132312.156475-2-toertel@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201224132312.156475-1-toertel@gmail.com> References: <20201224132312.156475-1-toertel@gmail.com> MIME-Version: 1.0 X-Original-Sender: toertel@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AjLVHQky; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::32e as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[1/2] util: Fix CID 314958
|
expand
|
diff --git a/core/util.c b/core/util.c index 7bc4c98..69d02c5 100644 --- a/core/util.c +++ b/core/util.c @@ -499,7 +499,7 @@ int IsValidHash(const unsigned char *hash) for (i = 0; i < SHA256_HASH_LENGTH; i++) { if (hash[i] != 0) - return 1; + return 1; } return 0; @@ -875,5 +875,3 @@ size_t snescape(char *dst, size_t n, const char *src) return len; } - -
Signed-off-by: Mark Jonas <toertel@gmail.com> --- core/util.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)