From 92d0e6456c5cf7c5279fccd7fa524eae8f953954 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 20 Jun 1996 03:09:11 +0000 Subject: [PATCH] only ask for passphrase for MD5_PGP sig types CVS patchset: 656 CVS date: 1996/06/20 03:09:11 --- rpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm.c b/rpm.c index 85584d6..1235edd 100755 --- a/rpm.c +++ b/rpm.c @@ -640,7 +640,7 @@ int main(int argc, char ** argv) { if (signIt) { if (bigMode == MODE_REBUILD || bigMode == MODE_BUILD || bigMode == MODE_RESIGN) { - if ((optind != argc) && (sigLookupType() == RPMSIG_PGP262_1024)) { + if ((optind != argc) && (sigLookupType() == RPMSIG_MD5_PGP)) { if (!(passPhrase = getPassPhrase("Enter pass phrase: "))) { fprintf(stderr, _("Pass phrase check failed\n")); exit(1); -- 2.7.4