From 4969fb4549ad1a5d3fd32ed36aa9feb37c8ba523 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 20 Jun 1996 03:10:17 +0000 Subject: [PATCH] new sig types CVS patchset: 657 CVS date: 1996/06/20 03:10:17 --- lib/signature.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/signature.h b/lib/signature.h index 306c7b1..81fe2a6 100644 --- a/lib/signature.h +++ b/lib/signature.h @@ -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 -- 2.7.4