[Rpm-maint] [rpm-software-management/rpm] Justus/openpgp fixes (PR #1813)
Panu Matilainen
notifications at github.com
Wed Nov 10 11:22:56 UTC 2021
@pmatilai commented on this pull request.
> @@ -444,7 +444,7 @@ static int pgpPrtSubType(const uint8_t *h, size_t hlen, pgpSigType sigtype,
int rc = 0;
while (hlen > 0 && rc == 0) {
- int impl = 0;
+ int recognized = 1;
A new value would get zeroed in the default case of the switch below, but I totally agree it's safer and far more obvious to have the default be non-recognized.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1813#discussion_r746494573
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211110/1c3cba2e/attachment.html>
More information about the Rpm-maint
mailing list