| Message ID | 20260712123010.125300-1-stefano.babic@swupdate.org |
|---|---|
| State | Accepted |
| Headers | show
Return-Path: <swupdate+bncBD2ZDGN6SEKRBV4RZ3JAMGQEGEETHOQ@googlegroups.com>
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@legolas.ozlabs.org
Authentication-Results: legolas.ozlabs.org;
dkim=pass (2048-bit key;
unprotected) header.d=googlegroups.com header.i=@googlegroups.com
header.a=rsa-sha256 header.s=20251104 header.b=aSMdtbG5;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com
(client-ip=2a00:1450:4864:20::138; helo=mail-lf1-x138.google.com;
envelope-from=swupdate+bncbd2zdgn6sekrbv4rz3jamgqegeethoq@googlegroups.com;
receiver=patchwork.ozlabs.org)
Received: from mail-lf1-x138.google.com (mail-lf1-x138.google.com
[IPv6:2a00:1450:4864:20::138])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)
(No client certificate requested)
by legolas.ozlabs.org (Postfix) with ESMTPS id 4gylK015Jvz1xpX
for <incoming@patchwork.ozlabs.org>; Sun, 12 Jul 2026 22:30:26 +1000 (AEST)
Received: by mail-lf1-x138.google.com with SMTP id
2adb3069b0e04-5aea2b3e942sf1298465e87.0
for <incoming@patchwork.ozlabs.org>;
Sun, 12 Jul 2026 05:30:26 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1783859419; cv=pass;
d=google.com; s=arc-20260327;
b=J8sdRLj82MBGkF+fUKCvAZmQl5Ea9V/ZaJ0RPzpmptX5h+KyCmSzl8f4+DXEIG9lLk
9kPhLAAKANxZxlMwOlFcc+sCyk01nq17sY491iGNpe5ugV+jTi9ap//1pTD4+xhDggCv
Wyzt21p2NLj5024TvPL3R/wzFCjSDXhtp9dvJC12tHh3VXScXXnWgHP0UxBHXiFl579y
emqPnkyM9fNa7v04HaJ6JdELSgG5CPLuXFH9J7SAdNm4fp4Ts/kT07PmE0qg/syhu8gb
2von2sGp4GiWJH8S6DKcefLhcwouu3ZvP8qFdIByPyreYaQgEeSKEPMdQwkLJz6nlGBt
E/Vg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:ui-outboundreport:mime-version
:message-id:date:subject:cc:to:from:sender:dkim-signature;
bh=2SHZSOFESUOmk+ghgDo94yP6JYwSkg4JZVFJ2ttzDDg=;
fh=/KIU3cVnaBfAHHY1dvKOrPcWOfd9Qy/cQ1IvDqMdc7s=;
b=i+IkThwoOZ8rzUoZ8lrbZdlsmWGu7DLHXovymVKoM9/GfOjK9sQ6YwZI+0z320uwak
RrxnNvbDFl1LxCDvp81OCUXAYYsK+z3rlFyvB/iDkOvNikfGFESnmSfyvxcLlhKBrZYE
Ba7i8aV7hq7M8lPG23flDD7q/WqFsX/3IHws/t/8F9qhyfvBBvAmEFE+XQ2cgVQ8J6/7
0BHKNAtTebIcY7ei38kaN81kpYcoqYggosVUILMj6mupX6Gv+exOKMYT4GM8JEmbJP8t
wawcQchVt/MhEs68UrDexmJQvX2QRqY0aFM5FI2A+dbH9L7XXUj/ii58ED+4SDjZMeo+
kqQg==;
darn=patchwork.ozlabs.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=xiCUQnK3;
spf=pass (google.com: domain of stefano.babic@swupdate.org designates
212.227.17.13 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=swupdate.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20251104; t=1783859419; x=1784464219;
darn=patchwork.ozlabs.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:content-type
:x-original-authentication-results:x-original-sender
:ui-outboundreport:mime-version:message-id:date:subject:cc:to:from
:sender:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=2SHZSOFESUOmk+ghgDo94yP6JYwSkg4JZVFJ2ttzDDg=;
b=aSMdtbG56xR5u6w96Olg+4MWbXRR0wdW5or9PhffRZOuMkF7OgJqNUkEj9LGjZ+YNl
cu5PxSvzpgAgpXfjf1lZXZzHNYBMKdLajagXk1lGAwdoDJmFKIwMoH+0GYg96MQRXkVT
iSZUTgPiyLsnU2fhUeYBPrEndqaHagZhBTUsJ+dnrf5KU4B+FzhZMOkoMSbA+6aMtwR/
4PaRmIkSKxun7o8kJgrJGRXqOCUmohgIdos7YOvE1J6QsnQ4jjGeJazD9VoKZFx5V6W1
egNUfu34r13xaOXT0pFCWxMNEMBHKUWAffJa8ncsByQH6YQOp238c8alQF26FyRAyZUY
wqQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1783859419; x=1784464219;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:content-type:x-original-authentication-results:x-original-sender
:ui-outboundreport:mime-version:message-id:date:subject:cc:to:from
:x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=2SHZSOFESUOmk+ghgDo94yP6JYwSkg4JZVFJ2ttzDDg=;
b=KbXalh7GeC+PI9hmHwkJxB8wPCfRHuAwSGp+ixDns3eFenvhZMJAxCTmS5xTrD9DI5
shzjWyO0rYYUXBXSghpmF/TPstI6OJwAVje5uCFC2I005yS4yWTdnKOcH012YkbsyL3R
p8IPLKbq8xgbzuvmOeAAdPw7I/H2CzQrTY1gEMKd0FVKeVvNueODyVqdeBrSDRog+sOt
Cv4ALjmwPrqezTRr92M9nPx+wnb8EkF8zYm0/zBKk97YFBhBAHJ6iaEUa45FozfhxiF5
ipfC5ubS50nPU+syDOgpy65bbreeQIXQ4tb6cvP60oYEl4dNhQxaT1ENT3jCjGQWBdgl
5ZzQ==
Sender: swupdate@googlegroups.com
X-Forwarded-Encrypted: i=2;
AHgh+RpPW9NxStxbI9nGIbPYj8EgjV710r2ZtjSAIrispzXHw/fZV+XyDOvqliNbGnMCytIX9AU06BRUeg==@patchwork.ozlabs.org
X-Gm-Message-State: AOJu0YxXTxFg6ODJ79n5CINjkLgNW446MgrwH1CNQF7JPk/Y0v2hjKIA
4TFGbZc+8qhchRyuiwAamet6CeDja5RTB80Qel8d6NaaGH8eP7KMjKHx
X-Received: by 2002:a05:6512:6699:20b0:5ae:b629:4517 with SMTP id
2adb3069b0e04-5b0236de948mr731127e87.63.1783859418774;
Sun, 12 Jul 2026 05:30:18 -0700 (PDT)
X-BeenThere: swupdate@googlegroups.com;
h="Aa7YSPQRBexSh0L7d0FyWoiDgRO/PJgeZP16mTtte5DWz6F86A=="
Received: by 2002:a05:6512:5c6:b0:5ae:ba93:ab6 with SMTP id
2adb3069b0e04-5b00e83862als1234986e87.0.-pod-prod-04-eu; Sun, 12 Jul 2026
05:30:14 -0700 (PDT)
X-Received: by 2002:ac2:544f:0:b0:5b0:2176:69f6 with SMTP id
2adb3069b0e04-5b0236a40f8mr843025e87.37.1783859413680;
Sun, 12 Jul 2026 05:30:13 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1783859413; cv=none;
d=google.com; s=arc-20260327;
b=dfX12co5FIrmfYH0nfVhoYHZJ13MYG5EpIDxeXYFvNaIEQOEztOjr1/cSrwcnJgEff
GdxYAoA+uViiwuXmjG6fTAKeuoPTBb5obOwlZiA7kBSeU4nef2aXal1KEIzaqJ5jTQlA
GfpJa6Psd91jCLNbRAJHxNp8dXh7ATOPvp8GqgBMK8bcN5xAogKtA4rMGaydKmuEw36m
vsGY5gu/rrEAgD9a4+OW5HD/xeokp9B4gjqq0HVy15DMTZUQCVHp4cIQOl61NvRbQdJb
XKjYu5jLh1PR532rCguDDmhNhDKZcJPl9QM2oeguzohu/id+On35R0sJ0ybFoXUYnRmh
9paw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=ui-outboundreport:content-transfer-encoding:mime-version:message-id
:date:subject:cc:to:from:dkim-signature;
bh=39v5HIJhSl5V0ZeGlSbjrPFRkkQQqykH5gMv+rT6SMY=;
fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=;
b=FuGznSR07XlW/yTfmSoANnHeXBcNhl+fV+sVLkmygAhHWBXgXuEat3b+Yg26SkGQtB
R2RwXFb44+GZ6/cBSfn2ePVes0MBhdhs52vxVA0kWZ41578dF0qowulBYiqEFEOPf4r2
fB4ZzSLla5YGE9wjOf7IqvTCcHUhHV/UPgirkMylQCdO+5I0B2PgBT73wwMRUvJrKZeg
KEghQPUMTdDWcPItiW5JsTZleOAQyhumMqc2ezXs1dTEJWMIzM5q+gQTQA1SW/I9dHf5
UJm9jt54cXh8EAh7+ZrlvRsH/lAfii2+nFCnIQzft/4sDyWjN62wPgw41X4EPmUcNc6O
4exw==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=xiCUQnK3;
spf=pass (google.com: domain of stefano.babic@swupdate.org designates
212.227.17.13 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=swupdate.org
Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.17.13])
by gmr-mx.google.com with ESMTPS id
38308e7fff4ca-39c9c3eac2fsi1079821fa.5.2026.07.12.05.30.13
for <swupdate@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 12 Jul 2026 05:30:13 -0700 (PDT)
Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org
designates 212.227.17.13 as permitted sender) client-ip=212.227.17.13;
X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6
Received: from client.hidden.invalid by mrelayeu.kundenserver.de (mreue107
[213.165.67.113]) with ESMTPSA (Nemesis) id 1MBmI6-1wv1Lc2nlM-006go6; Sun, 12
Jul 2026 14:30:12 +0200
From: Stefano Babic <stefano.babic@swupdate.org>
To: swupdate@googlegroups.com
Cc: Stefano Babic <stefano.babic@swupdate.org>
Subject: [swupdate] [PATCH] swupdate_gpg_verify: drop warnings
Date: Sun, 12 Jul 2026 14:30:10 +0200
Message-ID: <20260712123010.125300-1-stefano.babic@swupdate.org>
X-Mailer: git-send-email 2.55.0
MIME-Version: 1.0
X-Provags-ID: V03:K1:zaMa69tTwRLR/0J1q/4BdIQxSTKM0Wv2PRoQbMuMTMl6fon80w1
M3o4+jxc3mGGRWKS9HR/h5JiAl34iMu3BGNKovmzEmeVVXgVXgurE42PRPHjyCK1/Ah4MSx
veIrpo7bXxZAwton58/R9kmiFzRuwgF54PbitDUsKHK8K/cd2b2jreVyL/B4bU9FZbXdMxJ
/ybRCnfBO/BsQy/i7qCpA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:jFJ6oHC1skQ=;Q/PtgwSzn4Gk0xGQR+Atm3wZLUG
v9FEGX1EuamNnxYPf6RyDZzrl4+gx0BYCg9d+svyU4BX5Lxs1f8ER2HSUgvqD0ZY3oIxR6vv3
dOxYG5Lif4vBopCpoBVfmcKtLR924gqAvnmHYeC8upcvXNj/BzOChJefnmAYgIm0p7NWvJw4a
itfm5zgUnOWLcNnmksk5yl0nL9ac33UeNnfygMaAjCigtMPwfvxSKYvw2GVZum68YRp9yEjQu
deP3fT2RhuqZ6iRpyWx5W/fyy/RW9bNb0knnr+CPkUO32VV7DZvlgTanT1pRAKhO9aP8h0+6y
s5PJOZd06bk/AIOOIPvjVMenwAa+LMDaO9/mcxr6Q/e/2ICFQhsTz/ViWVd/K9o5X5RKfK5iq
EstZd2do2RT/g/YPs4WeXadNHQwVvmgE5zP78/RV3TW0yCp0SZjWtGYWTgLcUHUV+Ph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bYe4uupF/ZcRw6JtLy3WFDzWc0k4iK9FRPp7reEbPS
/kJ12MwANTQz9WGTNMRAd3lenCT4zXPOkcQcy23/wv5pxEK4q8aOacFbuQAFiqKzgpDL7K77q
/tWFmbikaXRpPJXB22b25VxKfPzt2y4Xi/2Qxb7urV+5eGou4EdA4f+Al/2H5bQ80akS2oexO
X8g9R2F28h1BDPNuSzrBAV7oukGsbEW9BIPyjVeP74l01+P8QH+4MfpzhZwzzOG5E/7SYpJ0s
8KQM5BRwdjribCX9E0UrzlcWr6XtHmwy99f897QoeztQM0GqCRGMS6BwHXys0u/GA1S91RDg+
kQqVo5yauTAlBrQVEqrlabnOqPJAjhMY99Ai0bO5EFILp/c9b+xNCU4HH8O/5J/O8HN+Y0ibZ
yxqXz2mmTg/PEZv/z4kLq+btJG7LJZ0idds05SsDnqnRjtu+9B6U1XcxpunvpHrN+F15vo0z3
bYhc2EMZDl0aaC7T8SA7i4SE6yX0Y=
X-Original-Sender: stefano.babic@swupdate.org
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@swupdate.org header.s=s1-ionos header.b=xiCUQnK3; spf=pass
(google.com: domain of stefano.babic@swupdate.org designates 212.227.17.13 as
permitted sender) smtp.mailfrom=stefano.babic@swupdate.org; dmarc=pass
(p=NONE sp=NONE dis=NONE) header.from=swupdate.org
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 |
swupdate_gpg_verify: drop warnings
|
expand
|
diff --git a/crypto/swupdate_gpg_verify.c b/crypto/swupdate_gpg_verify.c index b726336f..c37df008 100644 --- a/crypto/swupdate_gpg_verify.c +++ b/crypto/swupdate_gpg_verify.c @@ -29,7 +29,7 @@ status_cb(void *opaque, const char *keyword, const char *value) #define MSGBUF_LEN 256 -static int gpg_dgst_init(struct swupdate_cfg *sw, const char *keyfile) +static int gpg_dgst_init(struct swupdate_cfg *sw, __attribute__ ((__unused__)) const char *keyfile) { struct gpg_digest *dgst; int ret; @@ -63,7 +63,7 @@ dgst_init_error: } static int gpg_verify_file(void *gpgdgst, const char *sigfile, - const char *file, const char *signer_name) + const char *file, __attribute__ ((__unused__)) const char *signer_name) { struct gpg_digest *dgst = (struct gpg_digest *)gpgdgst; gpgme_ctx_t ctx;
Drop warnings due to unused parameters. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- crypto/swupdate_gpg_verify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)