diff options
author | root <devnull@localhost> | 1996-02-23 22:28:40 +0000 |
---|---|---|
committer | root <devnull@localhost> | 1996-02-23 22:28:40 +0000 |
commit | 68425333a052d1e7acc9404ee4ff7273c7565431 (patch) | |
tree | 1add50069d40c0f7916080ce2a8fbae3ad8bba85 /lib | |
parent | 664ec3353e31df55078caaa8fab40ef26e8b80be (diff) | |
download | rpm-68425333a052d1e7acc9404ee4ff7273c7565431.tar.gz rpm-68425333a052d1e7acc9404ee4ff7273c7565431.tar.bz2 rpm-68425333a052d1e7acc9404ee4ff7273c7565431.zip |
add a few return codes
CVS patchset: 413
CVS date: 1996/02/23 22:28:40
Diffstat (limited to 'lib')
-rw-r--r-- | lib/signature.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/signature.h b/lib/signature.h index 65d044ae5..306c7b17e 100644 --- a/lib/signature.h +++ b/lib/signature.h @@ -5,6 +5,12 @@ #define RPMSIG_PGP262_1024 1 #define RPMSIG_BAD 2 /* Returned for unknown types */ +/* verifySignature() results */ +#define RPMSIG_SIGOK 0 +#define RPMSIG_NOSIG 1 +#define RPMSIG_BADSIG 2 +#define RPMSIG_UNKNOWNSIG 3 + /* Read a sig_type signature from fd, alloc and return sig. */ int readSignature(int fd, short sig_type, void **sig); @@ -20,3 +26,4 @@ unsigned short sigLookupType(void); /* Utility to read a pass phrase from the user */ char *getPassPhrase(char *prompt); + |