new sig types
authorroot <devnull@localhost>
Thu, 20 Jun 1996 03:10:17 +0000 (03:10 +0000)
committerroot <devnull@localhost>
Thu, 20 Jun 1996 03:10:17 +0000 (03:10 +0000)
CVS patchset: 657
CVS date: 1996/06/20 03:10:17

lib/signature.h

index 306c7b1..81fe2a6 100644 (file)
@@ -2,9 +2,16 @@
 
 /* Signature types */
 #define RPMSIG_NONE         0  /* Do not change! */
-#define RPMSIG_PGP262_1024  1
+#define RPMSIG_PGP262_1024  1  /* No longer generated */
 #define RPMSIG_BAD          2  /* Returned for unknown types */
 
+/* These are the "new" style signatures.  We always do a MD5, */
+/* we can handle any PGP signature length, and the entire     */
+/* signature part is 8 byte aligned.                          */
+
+#define RPMSIG_MD5          3  /* New style signatures ... */
+#define RPMSIG_MD5_PGP      4
+
 /* verifySignature() results */
 #define RPMSIG_SIGOK        0
 #define RPMSIG_NOSIG        1