only ask for passphrase for MD5_PGP sig types
authorroot <devnull@localhost>
Thu, 20 Jun 1996 03:09:11 +0000 (03:09 +0000)
committerroot <devnull@localhost>
Thu, 20 Jun 1996 03:09:11 +0000 (03:09 +0000)
CVS patchset: 656
CVS date: 1996/06/20 03:09:11

rpm.c

diff --git a/rpm.c b/rpm.c
index 85584d6..1235edd 100755 (executable)
--- 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);