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 30c92113a..582af41ca 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-31 David Shaw <[email protected]>
+
+ * cipher.h: Add COMPRESS_ALGO_BZIP2.
+
2003-10-04 Timo Schulz <[email protected]>
* dynload [WIN32] (dlclose): Do not use CloseHandle but FreeLibrary.
diff --git a/include/cipher.h b/include/cipher.h
index 1a29c715c..732bd2c45 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 )