diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-09-30 23:35:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-09-30 23:35:33 +0000 |
commit | 09b6c2ef15139aa6ef2cee11676070939dd37817 (patch) | |
tree | afeaab1982d494fde0fe9f7425e0873a84a2f5e2 /ssl/ssl3.h | |
parent | cc29c1204ba08af88febdd675be4a118482d2611 (diff) |
Make OPENSSL_NO_COMP compile again.
Diffstat (limited to 'ssl/ssl3.h')
-rw-r--r-- | ssl/ssl3.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h index 0684f05306..f0fbf8275b 100644 --- a/ssl/ssl3.h +++ b/ssl/ssl3.h @@ -253,7 +253,11 @@ extern "C" { #endif #define SSL3_RT_MAX_PLAIN_LENGTH 16384 +#ifdef OPENSSL_NO_COMP +#define SSL3_RT_MAX_COMPRESSED_LENGTH SSL3_RT_MAX_PLAIN_LENGTH +#else #define SSL3_RT_MAX_COMPRESSED_LENGTH (1024+SSL3_RT_MAX_PLAIN_LENGTH) +#endif #define SSL3_RT_MAX_ENCRYPTED_LENGTH (1024+SSL3_RT_MAX_COMPRESSED_LENGTH) #define SSL3_RT_MAX_PACKET_SIZE (SSL3_RT_MAX_ENCRYPTED_LENGTH+SSL3_RT_HEADER_LENGTH) #define SSL3_RT_MAX_DATA_SIZE (1024*1024) |