diff options
author | beck <> | 2002-05-15 02:29:21 +0000 |
---|---|---|
committer | beck <> | 2002-05-15 02:29:21 +0000 |
commit | b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9 (patch) | |
tree | fa27cf82a1250b64ed3bf5f4a18c7354d470bbcc /src/lib/libssl/ssl2.h | |
parent | e471e1ea98d673597b182ea85f29e30c97cd08b5 (diff) | |
download | openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.gz openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.bz2 openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.zip |
OpenSSL 0.9.7 stable 2002 05 08 merge
Diffstat (limited to 'src/lib/libssl/ssl2.h')
-rw-r--r-- | src/lib/libssl/ssl2.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl2.h b/src/lib/libssl/ssl2.h index f8b56afb6b..99a52ea0dd 100644 --- a/src/lib/libssl/ssl2.h +++ b/src/lib/libssl/ssl2.h | |||
@@ -133,7 +133,7 @@ extern "C" { | |||
133 | 133 | ||
134 | /* Upper/Lower Bounds */ | 134 | /* Upper/Lower Bounds */ |
135 | #define SSL2_MAX_MASTER_KEY_LENGTH_IN_BITS 256 | 135 | #define SSL2_MAX_MASTER_KEY_LENGTH_IN_BITS 256 |
136 | #ifdef MPE | 136 | #ifdef OPENSSL_SYS_MPE |
137 | #define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 29998u | 137 | #define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 29998u |
138 | #else | 138 | #else |
139 | #define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 32767u /* 2^15-1 */ | 139 | #define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 32767u /* 2^15-1 */ |
@@ -189,7 +189,6 @@ typedef struct ssl2_state_st | |||
189 | unsigned char *ract_data; | 189 | unsigned char *ract_data; |
190 | unsigned char *wact_data; | 190 | unsigned char *wact_data; |
191 | unsigned char *mac_data; | 191 | unsigned char *mac_data; |
192 | unsigned char *pad_data; | ||
193 | 192 | ||
194 | unsigned char *read_key; | 193 | unsigned char *read_key; |
195 | unsigned char *write_key; | 194 | unsigned char *write_key; |
@@ -209,11 +208,11 @@ typedef struct ssl2_state_st | |||
209 | unsigned int conn_id_length; | 208 | unsigned int conn_id_length; |
210 | unsigned int cert_type; | 209 | unsigned int cert_type; |
211 | unsigned int cert_length; | 210 | unsigned int cert_length; |
212 | int csl; | 211 | unsigned int csl; |
213 | int clear; | 212 | unsigned int clear; |
214 | unsigned int enc; | 213 | unsigned int enc; |
215 | unsigned char ccl[SSL2_MAX_CERT_CHALLENGE_LENGTH]; | 214 | unsigned char ccl[SSL2_MAX_CERT_CHALLENGE_LENGTH]; |
216 | int cipher_spec_length; | 215 | unsigned int cipher_spec_length; |
217 | unsigned int session_id_length; | 216 | unsigned int session_id_length; |
218 | unsigned int clen; | 217 | unsigned int clen; |
219 | unsigned int rlen; | 218 | unsigned int rlen; |