[Rpm-maint] [rpm-software-management/rpm] Simplify pubkey header building code (#1625)

Dmitry Antipov notifications at github.com
Thu Apr 8 12:25:10 UTC 2021


At makePubkeyHeader(), the key has PGP data collected already,
so rpmPubkeyDig() is redundant. And, since the former is the only
user of the latter, which, in turn, mostly duplicates the
functionaliry of rpmPubkeyNew(), rpmPubkeyDig() may be dropped.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1625

-- Commit Summary --

  * Simplify pubkey header building code

-- File Changes --

    M lib/rpmts.c (9)
    M rpmio/rpmkeyring.c (29)
    M rpmio/rpmkeyring.h (7)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1625.patch
https://github.com/rpm-software-management/rpm/pull/1625.diff

-- 
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/1625
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210408/bd4761fb/attachment.html>


More information about the Rpm-maint mailing list