aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 )