[Rpm-maint] [rpm-software-management/rpm] Make rpmPubkeyFingerprintAsHex() and rpmPubkeyKeyIDAsHex() nicer to use from C (PR #3386)

Panu Matilainen notifications at github.com
Thu Oct 17 08:50:33 UTC 2024


Store both the keyid and fingerprint in hex format inside the key, so we can return const pointers to them.
Makes them nicer to use from C.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Return the keyid as a const pointer from rpmPubkeyKeyIDAsHex()
  * Return the fingerprint as const pointer from rpmPubkeyFingerprintAsHex()

-- File Changes --

    M include/rpm/rpmkeyring.h (8)
    M lib/rpmts.cc (3)
    M lib/rpmvs.cc (3)
    M rpmio/rpmkeyring.cc (34)
    M tools/rpmkeys.cc (11)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3386
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3386 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241017/30ef2b3f/attachment.html>


More information about the Rpm-maint mailing list