aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-10-31 00:51:33 +0000
committerDavid Shaw <[email protected]>2003-10-31 00:51:33 +0000
commit38282fca0cd474d60d005d07bcd431b35380b64a (patch)
treeecf24d86765835da1b14504c0b8b82344242c7a3 /include
parent* configure.ac (DLLIBS): Work properly on platforms where dlopen and (diff)
downloadgnupg-38282fca0cd474d60d005d07bcd431b35380b64a.tar.gz
gnupg-38282fca0cd474d60d005d07bcd431b35380b64a.zip
* cipher.h: Add COMPRESS_ALGO_BZIP2.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/cipher.h7
2 files changed, 8 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index ca06ef563..980cc1c0d 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-30 David Shaw <[email protected]>
+
+ * cipher.h: Add COMPRESS_ALGO_BZIP2.
+
2003-09-03 David Shaw <[email protected]>
* types.h: Revert previous change. This sort of thing is better
diff --git a/include/cipher.h b/include/cipher.h
index 23a5aeb0d..03b2f2c80 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -63,9 +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 COMPRESS_ALGO_NONE 0
+#define COMPRESS_ALGO_ZIP 1
+#define COMPRESS_ALGO_ZLIB 2
+#define COMPRESS_ALGO_BZIP2 3
#define is_RSA(a) ((a)==PUBKEY_ALGO_RSA || (a)==PUBKEY_ALGO_RSA_E \
|| (a)==PUBKEY_ALGO_RSA_S )