diff options
author | jsing <> | 2014-07-10 09:26:08 +0000 |
---|---|---|
committer | jsing <> | 2014-07-10 09:26:08 +0000 |
commit | e44978c178aed8163999a272aef221157cbaf6c6 (patch) | |
tree | e6e11b5294468c45cd25845145781c36c981eb01 /src/lib/libssl/ssl3.h | |
parent | e1e4df7c391a5c85ead550f2b5905317b011f66a (diff) | |
download | openbsd-e44978c178aed8163999a272aef221157cbaf6c6.tar.gz openbsd-e44978c178aed8163999a272aef221157cbaf6c6.tar.bz2 openbsd-e44978c178aed8163999a272aef221157cbaf6c6.zip |
Put back some parts of the public SSL API that should not have been
completely decompressed.
Diffstat (limited to 'src/lib/libssl/ssl3.h')
-rw-r--r-- | src/lib/libssl/ssl3.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h index f956c50987..4bf36c5006 100644 --- a/src/lib/libssl/ssl3.h +++ b/src/lib/libssl/ssl3.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl3.h,v 1.24 2014/07/10 08:51:15 tedu Exp $ */ | 1 | /* $OpenBSD: ssl3.h,v 1.25 2014/07/10 09:26:08 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -281,7 +281,6 @@ extern "C" { | |||
281 | (SSL_RT_MAX_CIPHER_BLOCK_SIZE + SSL3_RT_MAX_MD_SIZE) | 281 | (SSL_RT_MAX_CIPHER_BLOCK_SIZE + SSL3_RT_MAX_MD_SIZE) |
282 | 282 | ||
283 | /* If compression isn't used don't include the compression overhead */ | 283 | /* If compression isn't used don't include the compression overhead */ |
284 | |||
285 | #define SSL3_RT_MAX_COMPRESSED_LENGTH SSL3_RT_MAX_PLAIN_LENGTH | 284 | #define SSL3_RT_MAX_COMPRESSED_LENGTH SSL3_RT_MAX_PLAIN_LENGTH |
286 | #define SSL3_RT_MAX_ENCRYPTED_LENGTH \ | 285 | #define SSL3_RT_MAX_ENCRYPTED_LENGTH \ |
287 | (SSL3_RT_MAX_ENCRYPTED_OVERHEAD+SSL3_RT_MAX_COMPRESSED_LENGTH) | 286 | (SSL3_RT_MAX_ENCRYPTED_OVERHEAD+SSL3_RT_MAX_COMPRESSED_LENGTH) |