aboutsummaryrefslogtreecommitdiffstats
path: root/include/cipher.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/cipher.h5
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;