summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-08-27 21:35:14 +0000
committerjbj <devnull@localhost>2000-08-27 21:35:14 +0000
commitaf938797acd2a1fc33c2e83aac0f006973d5c3c9 (patch)
tree0a10b2f8889752d21f4ee1c5e3f0e5ee1394dbdf /rpm.c
parente3ce4c85e1669dc7112e65f28fc6c450741a4263 (diff)
downloadlibrpm-tizen-af938797acd2a1fc33c2e83aac0f006973d5c3c9.tar.gz
librpm-tizen-af938797acd2a1fc33c2e83aac0f006973d5c3c9.tar.bz2
librpm-tizen-af938797acd2a1fc33c2e83aac0f006973d5c3c9.zip
- consistent return for all signature verification.
- use enum for signature header tags. CVS patchset: 4137 CVS date: 2000/08/27 21:35:14
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;