ssl2.h (72613) | ssl2.h (89837) |
---|---|
1/* ssl/ssl2.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 175 unchanged lines hidden (view full) --- 184 unsigned int padding; 185 unsigned int rlength; /* passed to ssl2_enc */ 186 int ract_data_length; /* Set when things are encrypted. */ 187 unsigned int wlength; /* passed to ssl2_enc */ 188 int wact_data_length; /* Set when things are decrypted. */ 189 unsigned char *ract_data; 190 unsigned char *wact_data; 191 unsigned char *mac_data; | 1/* ssl/ssl2.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 175 unchanged lines hidden (view full) --- 184 unsigned int padding; 185 unsigned int rlength; /* passed to ssl2_enc */ 186 int ract_data_length; /* Set when things are encrypted. */ 187 unsigned int wlength; /* passed to ssl2_enc */ 188 int wact_data_length; /* Set when things are decrypted. */ 189 unsigned char *ract_data; 190 unsigned char *wact_data; 191 unsigned char *mac_data; |
192 unsigned char *pad_data; | 192 unsigned char *pad_data_UNUSED; /* only for binary compatibility with 0.9.6b */ |
193 194 unsigned char *read_key; 195 unsigned char *write_key; 196 197 /* Stuff specifically to do with this SSL session */ 198 unsigned int challenge_length; 199 unsigned char challenge[SSL2_MAX_CHALLENGE_LENGTH]; 200 unsigned int conn_id_length; 201 unsigned char conn_id[SSL2_MAX_CONNECTION_ID_LENGTH]; 202 unsigned int key_material_length; 203 unsigned char key_material[SSL2_MAX_KEY_MATERIAL_LENGTH*2]; 204 205 unsigned long read_sequence; 206 unsigned long write_sequence; 207 208 struct { 209 unsigned int conn_id_length; 210 unsigned int cert_type; 211 unsigned int cert_length; | 193 194 unsigned char *read_key; 195 unsigned char *write_key; 196 197 /* Stuff specifically to do with this SSL session */ 198 unsigned int challenge_length; 199 unsigned char challenge[SSL2_MAX_CHALLENGE_LENGTH]; 200 unsigned int conn_id_length; 201 unsigned char conn_id[SSL2_MAX_CONNECTION_ID_LENGTH]; 202 unsigned int key_material_length; 203 unsigned char key_material[SSL2_MAX_KEY_MATERIAL_LENGTH*2]; 204 205 unsigned long read_sequence; 206 unsigned long write_sequence; 207 208 struct { 209 unsigned int conn_id_length; 210 unsigned int cert_type; 211 unsigned int cert_length; |
212 int csl; 213 int clear; | 212 unsigned int csl; 213 unsigned int clear; |
214 unsigned int enc; 215 unsigned char ccl[SSL2_MAX_CERT_CHALLENGE_LENGTH]; | 214 unsigned int enc; 215 unsigned char ccl[SSL2_MAX_CERT_CHALLENGE_LENGTH]; |
216 int cipher_spec_length; | 216 unsigned int cipher_spec_length; |
217 unsigned int session_id_length; 218 unsigned int clen; 219 unsigned int rlen; 220 } tmp; 221 } SSL2_STATE; 222 223/* SSLv2 */ 224/* client */ --- 45 unchanged lines hidden --- | 217 unsigned int session_id_length; 218 unsigned int clen; 219 unsigned int rlen; 220 } tmp; 221 } SSL2_STATE; 222 223/* SSLv2 */ 224/* client */ --- 45 unchanged lines hidden --- |