diff options
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmpgp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c index 43e6c5dc2..cd0ddd71f 100644 --- a/rpmio/rpmpgp.c +++ b/rpmio/rpmpgp.c @@ -1041,7 +1041,8 @@ rpmRC pgpVerifySig(pgpDig dig, DIGEST_CTX hashctx) if (dig == NULL || hashctx == NULL) return RPMRC_FAIL; - return pgpVerifySignature(&dig->pubkey, &dig->signature, hashctx); + return pgpVerifySignature(pgpDigGetParams(dig, PGPTAG_PUBLIC_KEY), + pgpDigGetParams(dig, PGPTAG_SIGNATURE), hashctx); } static pgpArmor decodePkts(uint8_t *b, uint8_t **pkt, size_t *pktlen) |