From: root Date: Fri, 23 Feb 1996 22:28:40 +0000 (+0000) Subject: add a few return codes X-Git-Tag: rpm-4.4-release~5322 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68425333a052d1e7acc9404ee4ff7273c7565431;p=platform%2Fupstream%2Frpm.git add a few return codes CVS patchset: 413 CVS date: 1996/02/23 22:28:40 --- diff --git a/lib/signature.h b/lib/signature.h index 65d044a..306c7b1 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); +