diff options
author | David Shaw <[email protected]> | 2004-11-29 21:07:43 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-11-29 21:07:43 +0000 |
commit | a59e12f78f5d5a46978c78d9ace646793e4fbaa0 (patch) | |
tree | 5a77d5dd09a140af957a6984ecc4bc2fd5bb24e2 | |
parent | * getkey.c (parse_key_usage): New function to parse out key usage flags. (diff) | |
download | gnupg-a59e12f78f5d5a46978c78d9ace646793e4fbaa0.tar.gz gnupg-a59e12f78f5d5a46978c78d9ace646793e4fbaa0.zip |
* cipher.h: Add PUBKEY_USAGE_UNKNOWN.
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/cipher.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 235da89a4..7b5a8d88e 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-11-29 David Shaw <[email protected]> + + * cipher.h: Add PUBKEY_USAGE_UNKNOWN. + 2004-03-29 Werner Koch <[email protected]> * mpi.h: s/exp/exponent/ to shutup a compiler warning. diff --git a/include/cipher.h b/include/cipher.h index 1bec64c92..3e7489e92 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -51,6 +51,7 @@ #define PUBKEY_USAGE_SIG 1 /* key is good for signatures */ #define PUBKEY_USAGE_ENC 2 /* key is good for encryption */ #define PUBKEY_USAGE_CERT 4 /* key is also good to certify other keys*/ +#define PUBKEY_USAGE_UNKNOWN 128 /* key has an unknown usage bit */ #define DIGEST_ALGO_MD5 1 #define DIGEST_ALGO_SHA1 2 |