| OLD | NEW |
| 1 /* Private header file of libSSL. | 1 /* Private header file of libSSL. |
| 2 * Various and sundry protocol constants. DON'T CHANGE THESE. These | 2 * Various and sundry protocol constants. DON'T CHANGE THESE. These |
| 3 * values are defined by the SSL 3.0 protocol specification. | 3 * values are defined by the SSL 3.0 protocol specification. |
| 4 * | 4 * |
| 5 * ***** BEGIN LICENSE BLOCK ***** | 5 * ***** BEGIN LICENSE BLOCK ***** |
| 6 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 6 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 7 * | 7 * |
| 8 * The contents of this file are subject to the Mozilla Public License Version | 8 * The contents of this file are subject to the Mozilla Public License Version |
| 9 * 1.1 (the "License"); you may not use this file except in compliance with | 9 * 1.1 (the "License"); you may not use this file except in compliance with |
| 10 * the License. You may obtain a copy of the License at | 10 * the License. You may obtain a copy of the License at |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 hello_verify_request = 3, | 156 hello_verify_request = 3, |
| 157 new_session_ticket = 4, | 157 new_session_ticket = 4, |
| 158 certificate = 11, | 158 certificate = 11, |
| 159 server_key_exchange = 12, | 159 server_key_exchange = 12, |
| 160 certificate_request = 13, | 160 certificate_request = 13, |
| 161 server_hello_done = 14, | 161 server_hello_done = 14, |
| 162 certificate_verify = 15, | 162 certificate_verify = 15, |
| 163 client_key_exchange = 16, | 163 client_key_exchange = 16, |
| 164 finished = 20, | 164 finished = 20, |
| 165 certificate_status = 22, | 165 certificate_status = 22, |
| 166 next_proto» » = 67 | 166 next_proto» » = 67, |
| 167 encrypted_extensions= 203 |
| 167 } SSL3HandshakeType; | 168 } SSL3HandshakeType; |
| 168 | 169 |
| 169 typedef struct { | 170 typedef struct { |
| 170 uint8 empty; | 171 uint8 empty; |
| 171 } SSL3HelloRequest; | 172 } SSL3HelloRequest; |
| 172 | 173 |
| 173 typedef struct { | 174 typedef struct { |
| 174 SSL3Opaque rand[SSL3_RANDOM_LENGTH]; | 175 SSL3Opaque rand[SSL3_RANDOM_LENGTH]; |
| 175 } SSL3Random; | 176 } SSL3Random; |
| 176 | 177 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 unsigned char *iv; | 348 unsigned char *iv; |
| 348 SECItem encrypted_state; | 349 SECItem encrypted_state; |
| 349 unsigned char *mac; | 350 unsigned char *mac; |
| 350 } EncryptedSessionTicket; | 351 } EncryptedSessionTicket; |
| 351 | 352 |
| 352 #define TLS_EX_SESS_TICKET_MAC_LENGTH 32 | 353 #define TLS_EX_SESS_TICKET_MAC_LENGTH 32 |
| 353 | 354 |
| 354 #define TLS_STE_NO_SERVER_NAME -1 | 355 #define TLS_STE_NO_SERVER_NAME -1 |
| 355 | 356 |
| 356 #endif /* __ssl3proto_h_ */ | 357 #endif /* __ssl3proto_h_ */ |
| OLD | NEW |