projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e237b2d
)
Whoops, wrong enum type used for pubkey algorithm
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 28 Sep 2010 19:13:25 +0000
(22:13 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 28 Sep 2010 19:13:25 +0000
(22:13 +0300)
- dumb thinko/typo from commit
0e143cfe9f11abc42733d2265dc6d61cb716e5a4
lib/signature.c
patch
|
blob
|
history
diff --git
a/lib/signature.c
b/lib/signature.c
index
dd7b508
..
c82d229
100644
(file)
--- a/
lib/signature.c
+++ b/
lib/signature.c
@@
-289,7
+289,7
@@
Header rpmFreeSignature(Header sigh)
*/
static int validatePGPSig(pgpDigParams sigp)
{
- pgp
Hash
Algo pa = sigp->pubkey_algo;
+ pgp
Pubkey
Algo pa = sigp->pubkey_algo;
/* TODO: query from the implementation instead of hardwiring here */
if (pa != PGPPUBKEYALGO_DSA && pa != PGPPUBKEYALGO_RSA) {
rpmlog(RPMLOG_ERR, _("Unsupported PGP pubkey algorithm %d\n"),