diff options
author | Werner Koch <wk@gnupg.org> | 1998-07-08 11:29:43 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-07-08 11:29:43 +0200 |
commit | 5aed77d1dbd95a8a0be4d579fd023775ddc85223 (patch) | |
tree | e9b043aa908c90590b4d2f78639fd24b0a2b83c7 /include/cipher.h | |
parent | Added new key infos (diff) | |
download | gnupg2-5aed77d1dbd95a8a0be4d579fd023775ddc85223.tar.xz gnupg2-5aed77d1dbd95a8a0be4d579fd023775ddc85223.zip |
fixed clearsig stuff
Diffstat (limited to 'include/cipher.h')
-rw-r--r-- | include/cipher.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cipher.h b/include/cipher.h index cea0a2114..6df44b772 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -44,6 +44,9 @@ #define PUBKEY_ALGO_DSA 17 #define PUBKEY_ALGO_ELGAMAL 20 /* sign and encrypt elgamal */ +#define PUBKEY_USAGE_SIG 1 /* key is good for signatures */ +#define PUBKEY_USAGE_ENC 2 /* key is good for encryption */ + #define DIGEST_ALGO_MD5 1 #define DIGEST_ALGO_SHA1 2 #define DIGEST_ALGO_RMD160 3 @@ -79,9 +82,7 @@ typedef struct { int bufcount; int secure; FILE *debug; - int guard1; struct md_digest_list_s *list; - int guard2; } *MD_HANDLE; |