diff options
author | jbj <devnull@localhost> | 2002-12-24 19:49:06 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-12-24 19:49:06 +0000 |
commit | 6b0679df90d7c90aea308c2e5328aed401176790 (patch) | |
tree | 3a9434f2c639405a599d8e838afb6fc9bdac8be5 /lib/rpmchecksig.c | |
parent | 268376a208ce942e92088315d383a4e09974cbc2 (diff) | |
download | librpm-tizen-6b0679df90d7c90aea308c2e5328aed401176790.tar.gz librpm-tizen-6b0679df90d7c90aea308c2e5328aed401176790.tar.bz2 librpm-tizen-6b0679df90d7c90aea308c2e5328aed401176790.zip |
- add %%pubkey attribute to read armored pubkey files into header.
CVS patchset: 5969
CVS date: 2002/12/24 19:49:06
Diffstat (limited to 'lib/rpmchecksig.c')
-rw-r--r-- | lib/rpmchecksig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmchecksig.c b/lib/rpmchecksig.c index 3fc01fc21..55ad5c4c7 100644 --- a/lib/rpmchecksig.c +++ b/lib/rpmchecksig.c @@ -564,7 +564,7 @@ rpmtsClean(ts); pkt = _free(pkt); /* Read pgp packet. */ - if ((rc = pgpReadPkts(fn, &pkt, &pktlen)) <= 0) { + if ((rc = pgpReadPkts(fn, &pkt, &pktlen)) <= 0) { rpmError(RPMERR_IMPORT, _("%s: import read failed.\n"), fn); res++; continue; @@ -576,7 +576,7 @@ rpmtsClean(ts); } /* Import pubkey packet(s). */ - if ((rc = rpmcliImportPubkey(ts, pkt, pktlen)) != 0) { + if ((rc = rpmcliImportPubkey(ts, pkt, pktlen)) != 0) { rpmError(RPMERR_IMPORT, _("%s: import failed.\n"), fn); res++; continue; |