summaryrefslogtreecommitdiff
path: root/lib/signature.h
diff options
context:
space:
mode:
authorroot <devnull@localhost>1996-07-08 03:27:05 +0000
committerroot <devnull@localhost>1996-07-08 03:27:05 +0000
commitbc6d4246fc3b89b3cdf37fcb173b40909d05b540 (patch)
tree2e08375942a92c4912942230d11f041ca4301822 /lib/signature.h
parent95419b579038611bcbd84c9ec7099ff973738e0b (diff)
downloadlibrpm-tizen-bc6d4246fc3b89b3cdf37fcb173b40909d05b540.tar.gz
librpm-tizen-bc6d4246fc3b89b3cdf37fcb173b40909d05b540.tar.bz2
librpm-tizen-bc6d4246fc3b89b3cdf37fcb173b40909d05b540.zip
cleanup of verify stuff
CVS patchset: 743 CVS date: 1996/07/08 03:27:05
Diffstat (limited to 'lib/signature.h')
-rw-r--r--lib/signature.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/signature.h b/lib/signature.h
index 9f26e4a5f..07038bc8a 100644
--- a/lib/signature.h
+++ b/lib/signature.h
@@ -42,12 +42,9 @@
/**************************************************/
/* verifySignature() results */
-#define RPMSIG_SIGOK 0
-#define RPMSIG_NOSIG 1
-#define RPMSIG_UNKNOWNSIG (1<<1)
-#define RPMSIG_BADSIG (1<<2)
-#define RPMSIG_BADMD5 (1<<3)
-#define RPMSIG_BADPGP (1<<4)
+#define RPMSIG_OK 0
+#define RPMSIG_UNKNOWN 1
+#define RPMSIG_BAD 2
/**************************************************/
/* */
@@ -68,10 +65,8 @@ void freeSignature(Header h);
/******************************************************************/
-/* Verify data on fd with sig. */
-/* Fill result with status info. */
-/* If pgp is 0, then don't even try to verify with PGP. */
-int verifySignature(int fd, short sig_type, void *sig, char *result, int pgp);
+int verifySignature(char *file, int_32 sigTag, void *sig, int count,
+ char *result);
/* Return type of signature in effect for building */
int sigLookupType(void);