summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpm.c')
-rwxr-xr-xrpm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpm.c b/rpm.c
index 1cff349c1..d69042d85 100755
--- a/rpm.c
+++ b/rpm.c
@@ -536,7 +536,7 @@ int main(int argc, const char ** argv)
int installFlags = 0, uninstallFlags = 0, interfaceFlags = 0;
int verifyFlags;
int checksigFlags = 0;
- int addSign = NEW_SIGNATURE;
+ enum rpmKtype addSign = RPMK_NEW_SIGNATURE;
char * passPhrase = "";
const char * optArg;
pid_t pipeChild = 0;
@@ -721,7 +721,7 @@ int main(int argc, const char ** argv)
if (bigMode != MODE_UNKNOWN && bigMode != MODE_RESIGN)
argerror(_("only one major mode may be specified"));
bigMode = MODE_RESIGN;
- addSign = NEW_SIGNATURE;
+ addSign = RPMK_NEW_SIGNATURE;
signIt = 1;
break;
@@ -729,7 +729,7 @@ int main(int argc, const char ** argv)
if (bigMode != MODE_UNKNOWN && bigMode != MODE_RESIGN)
argerror(_("only one major mode may be specified"));
bigMode = MODE_RESIGN;
- addSign = ADD_SIGNATURE;
+ addSign = RPMK_ADD_SIGNATURE;
signIt = 1;
break;