diff options
author | jbj <devnull@localhost> | 2000-08-27 21:35:14 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-08-27 21:35:14 +0000 |
commit | af938797acd2a1fc33c2e83aac0f006973d5c3c9 (patch) | |
tree | 0a10b2f8889752d21f4ee1c5e3f0e5ee1394dbdf /rpm.c | |
parent | e3ce4c85e1669dc7112e65f28fc6c450741a4263 (diff) | |
download | librpm-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-x | rpm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |