| 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 * This Source Code Form is subject to the terms of the Mozilla Public |
| 6 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 6 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 7 * | 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 8 * The contents of this file are subject to the Mozilla Public License Version | 8 /* $Id: ssl3prot.h,v 1.22 2012/04/25 14:50:12 gerv%gerv.net Exp $ */ |
| 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 | |
| 11 * http://www.mozilla.org/MPL/ | |
| 12 * | |
| 13 * Software distributed under the License is distributed on an "AS IS" basis, | |
| 14 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
| 15 * for the specific language governing rights and limitations under the | |
| 16 * License. | |
| 17 * | |
| 18 * The Original Code is the Netscape security libraries. | |
| 19 * | |
| 20 * The Initial Developer of the Original Code is | |
| 21 * Netscape Communications Corporation. | |
| 22 * Portions created by the Initial Developer are Copyright (C) 1994-2000 | |
| 23 * the Initial Developer. All Rights Reserved. | |
| 24 * | |
| 25 * Contributor(s): | |
| 26 * Dr Vipul Gupta <vipul.gupta@sun.com>, Sun Microsystems Laboratories | |
| 27 * | |
| 28 * Alternatively, the contents of this file may be used under the terms of | |
| 29 * either the GNU General Public License Version 2 or later (the "GPL"), or | |
| 30 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
| 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 | |
| 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 | |
| 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 | |
| 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. | |
| 39 * | |
| 40 * ***** END LICENSE BLOCK ***** */ | |
| 41 /* $Id: ssl3prot.h,v 1.20 2011/10/29 00:29:11 bsmith%mozilla.com Exp $ */ | |
| 42 | 9 |
| 43 #ifndef __ssl3proto_h_ | 10 #ifndef __ssl3proto_h_ |
| 44 #define __ssl3proto_h_ | 11 #define __ssl3proto_h_ |
| 45 | 12 |
| 46 typedef uint8 SSL3Opaque; | 13 typedef uint8 SSL3Opaque; |
| 47 | 14 |
| 48 typedef uint16 SSL3ProtocolVersion; | 15 typedef uint16 SSL3ProtocolVersion; |
| 49 /* version numbers are defined in sslproto.h */ | 16 /* version numbers are defined in sslproto.h */ |
| 50 | 17 |
| 51 typedef uint16 ssl3CipherSuite; | 18 typedef uint16 ssl3CipherSuite; |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 unsigned char *iv; | 315 unsigned char *iv; |
| 349 SECItem encrypted_state; | 316 SECItem encrypted_state; |
| 350 unsigned char *mac; | 317 unsigned char *mac; |
| 351 } EncryptedSessionTicket; | 318 } EncryptedSessionTicket; |
| 352 | 319 |
| 353 #define TLS_EX_SESS_TICKET_MAC_LENGTH 32 | 320 #define TLS_EX_SESS_TICKET_MAC_LENGTH 32 |
| 354 | 321 |
| 355 #define TLS_STE_NO_SERVER_NAME -1 | 322 #define TLS_STE_NO_SERVER_NAME -1 |
| 356 | 323 |
| 357 #endif /* __ssl3proto_h_ */ | 324 #endif /* __ssl3proto_h_ */ |
| OLD | NEW |