summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-03-26 09:59:01 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-03-26 09:59:01 +0200
commit64280efc1e5ba39ce05cb304e0fd1cf15843f94b (patch)
tree743571d28821817131f66e8bbea4a8213dc0f18c /rpmqv.c
parent4d31b0433f3f804f81955c32e63c93f31506e8ad (diff)
downloadlibrpm-tizen-64280efc1e5ba39ce05cb304e0fd1cf15843f94b.tar.gz
librpm-tizen-64280efc1e5ba39ce05cb304e0fd1cf15843f94b.tar.bz2
librpm-tizen-64280efc1e5ba39ce05cb304e0fd1cf15843f94b.zip
Put the PGP foobar signature generation out of its misery
- the last freeware PGP version (6.5.8) is from year 2000 and doesn't come close to compiling on modern distros, commercial versions we're not interested in - "PGP" signatures in rpm mean RSA, gpg can handle that just fine since forever - the code's been unused for years, unlikely to be functional anyway...
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/rpmqv.c b/rpmqv.c
index bff318416..f14b80e93 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -538,14 +538,6 @@ int main(int argc, char *argv[])
case 0:
break;
case RPMSIGTAG_PGP:
-#ifdef DYING /* XXX gpg can now be used for RSA signatures. */
- if ((sigTag == RPMSIGTAG_PGP || sigTag == RPMSIGTAG_PGP5) &&
- !rpmDetectPGPVersion(NULL)) {
- fprintf(stderr, _("pgp not found: "));
- ec = EXIT_FAILURE;
- goto exit;
- }
-#endif
case RPMSIGTAG_GPG:
case RPMSIGTAG_DSA:
case RPMSIGTAG_RSA: