* cipher.h: Add constants for compression algorithms.
authorDavid Shaw <dshaw@jabberwocky.com>
Sat, 3 May 2003 03:21:29 +0000 (03:21 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Sat, 3 May 2003 03:21:29 +0000 (03:21 +0000)
include/ChangeLog
include/cipher.h

index 000dc56..f495540 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-02  David Shaw  <dshaw@jabberwocky.com>
+
+       * cipher.h: Add constants for compression algorithms.
+
 2003-03-11  David Shaw  <dshaw@jabberwocky.com>
 
        * http.h: Add HTTP_FLAG_TRY_SRV.
index 2e093c6..e7b0c2d 100644 (file)
 #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)