diff options
author | David Shaw <[email protected]> | 2003-05-03 03:21:29 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-05-03 03:21:29 +0000 |
commit | 7c3aa4aea3bb2317216c700a4d13300657641f08 (patch) | |
tree | 57844123d73abb88b7d77968c0ad0be90ce2a22f | |
parent | * tdbio.c (create_version_record): Only create new trustdbs with (diff) | |
download | gnupg-7c3aa4aea3bb2317216c700a4d13300657641f08.tar.gz gnupg-7c3aa4aea3bb2317216c700a4d13300657641f08.zip |
* cipher.h: Add constants for compression algorithms.
Diffstat (limited to '')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/cipher.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 000dc56b2..f495540f9 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-05-02 David Shaw <[email protected]> + + * cipher.h: Add constants for compression algorithms. + 2003-03-11 David Shaw <[email protected]> * http.h: Add HTTP_FLAG_TRY_SRV. diff --git a/include/cipher.h b/include/cipher.h index 2e093c6a5..e7b0c2dc1 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -63,6 +63,10 @@ #define DIGEST_ALGO_SHA384 9 #define DIGEST_ALGO_SHA512 10 +#define COMPRESS_ALGO_NONE 0 +#define COMPRESS_ALGO_ZIP 1 +#define COMPRESS_ALGO_ZLIB 2 + #define is_RSA(a) ((a)==PUBKEY_ALGO_RSA || (a)==PUBKEY_ALGO_RSA_E \ || (a)==PUBKEY_ALGO_RSA_S ) #define is_ELGAMAL(a) ((a)==PUBKEY_ALGO_ELGAMAL || (a)==PUBKEY_ALGO_ELGAMAL_E) |