From 8d82e1af00aff3a1d745b7b2d7d0dc32de049ff4 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 31 Oct 2003 05:07:40 +0000 Subject: [PATCH] * cipher.h: Add COMPRESS_ALGO_BZIP2. --- include/ChangeLog | 4 ++++ include/cipher.h | 7 ++++--- 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 + + * cipher.h: Add COMPRESS_ALGO_BZIP2. + 2003-10-04 Timo Schulz * 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 )