summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/ssl/ssl2.h
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-02-18 03:17:36 +0000
committerkris <kris@FreeBSD.org>2001-02-18 03:17:36 +0000
commit7e55354aa4b06dead79c8a2c91756d71c0f02030 (patch)
tree5058ee297163944bfec8dbad8c8cad174f437d82 /crypto/openssl/ssl/ssl2.h
parent539b977eff7c71f628cb2a407543a51070b14763 (diff)
downloadFreeBSD-src-7e55354aa4b06dead79c8a2c91756d71c0f02030.zip
FreeBSD-src-7e55354aa4b06dead79c8a2c91756d71c0f02030.tar.gz
Import of OpenSSL 0.9.6-STABLE snapshot dated 2001-02-10
Diffstat (limited to 'crypto/openssl/ssl/ssl2.h')
-rw-r--r--crypto/openssl/ssl/ssl2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/openssl/ssl/ssl2.h b/crypto/openssl/ssl/ssl2.h
index df7d03c..f8b56af 100644
--- a/crypto/openssl/ssl/ssl2.h
+++ b/crypto/openssl/ssl/ssl2.h
@@ -134,11 +134,11 @@ extern "C" {
/* Upper/Lower Bounds */
#define SSL2_MAX_MASTER_KEY_LENGTH_IN_BITS 256
#ifdef MPE
-#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER (unsigned int)29998
+#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 29998u
#else
-#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER (unsigned int)32767
+#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 32767u /* 2^15-1 */
#endif
-#define SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER 16383 /**/
+#define SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER 16383 /* 2^14-1 */
#define SSL2_CHALLENGE_LENGTH 16
/*#define SSL2_CHALLENGE_LENGTH 32 */
OpenPOWER on IntegriCloud