| 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 20 matching lines...) Expand all Loading... |
| 31 * in which case the provisions of the GPL or the LGPL are applicable instead | 31 * in which case the provisions of the GPL or the LGPL are applicable instead |
| 32 * of those above. If you wish to allow use of your version of this file only | 32 * of those above. If you wish to allow use of your version of this file only |
| 33 * under the terms of either the GPL or the LGPL, and not to allow others to | 33 * under the terms of either the GPL or the LGPL, and not to allow others to |
| 34 * use your version of this file under the terms of the MPL, indicate your | 34 * use your version of this file under the terms of the MPL, indicate your |
| 35 * decision by deleting the provisions above and replace them with the notice | 35 * decision by deleting the provisions above and replace them with the notice |
| 36 * and other provisions required by the GPL or the LGPL. If you do not delete | 36 * and other provisions required by the GPL or the LGPL. If you do not delete |
| 37 * the provisions above, a recipient may use your version of this file under | 37 * the provisions above, a recipient may use your version of this file under |
| 38 * the terms of any one of the MPL, the GPL or the LGPL. | 38 * the terms of any one of the MPL, the GPL or the LGPL. |
| 39 * | 39 * |
| 40 * ***** END LICENSE BLOCK ***** */ | 40 * ***** END LICENSE BLOCK ***** */ |
| 41 /* $Id: ssl3prot.h,v 1.19 2010/06/24 09:24:18 nelson%bolyard.com Exp $ */ | 41 /* $Id: ssl3prot.h,v 1.20 2011/10/29 00:29:11 bsmith%mozilla.com Exp $ */ |
| 42 | 42 |
| 43 #ifndef __ssl3proto_h_ | 43 #ifndef __ssl3proto_h_ |
| 44 #define __ssl3proto_h_ | 44 #define __ssl3proto_h_ |
| 45 | 45 |
| 46 typedef uint8 SSL3Opaque; | 46 typedef uint8 SSL3Opaque; |
| 47 | 47 |
| 48 typedef uint16 SSL3ProtocolVersion; | 48 typedef uint16 SSL3ProtocolVersion; |
| 49 /* version numbers are defined in sslproto.h */ | 49 /* version numbers are defined in sslproto.h */ |
| 50 | 50 |
| 51 typedef uint16 ssl3CipherSuite; | 51 typedef uint16 ssl3CipherSuite; |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 unsigned char *iv; | 343 unsigned char *iv; |
| 344 SECItem encrypted_state; | 344 SECItem encrypted_state; |
| 345 unsigned char *mac; | 345 unsigned char *mac; |
| 346 } EncryptedSessionTicket; | 346 } EncryptedSessionTicket; |
| 347 | 347 |
| 348 #define TLS_EX_SESS_TICKET_MAC_LENGTH 32 | 348 #define TLS_EX_SESS_TICKET_MAC_LENGTH 32 |
| 349 | 349 |
| 350 #define TLS_STE_NO_SERVER_NAME -1 | 350 #define TLS_STE_NO_SERVER_NAME -1 |
| 351 | 351 |
| 352 #endif /* __ssl3proto_h_ */ | 352 #endif /* __ssl3proto_h_ */ |
| OLD | NEW |