OLD | NEW |
1 /* | 1 /* |
2 * This file is PRIVATE to SSL and should be the first thing included by | 2 * This file is PRIVATE to SSL and should be the first thing included by |
3 * any SSL implementation file. | 3 * any SSL implementation file. |
4 * | 4 * |
5 * This Source Code Form is subject to the terms of the Mozilla Public | 5 * This Source Code Form is subject to the terms of the Mozilla Public |
6 * License, v. 2.0. If a copy of the MPL was not distributed with this | 6 * License, v. 2.0. If a copy of the MPL was not distributed with this |
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
8 | 8 |
9 #ifndef __sslimpl_h_ | 9 #ifndef __sslimpl_h_ |
10 #define __sslimpl_h_ | 10 #define __sslimpl_h_ |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 PRUint16 clAuthSeries; | 698 PRUint16 clAuthSeries; |
699 | 699 |
700 char masterValid; | 700 char masterValid; |
701 char clAuthValid; | 701 char clAuthValid; |
702 | 702 |
703 /* Session ticket if we have one, is sent as an extension in the | 703 /* Session ticket if we have one, is sent as an extension in the |
704 * ClientHello message. This field is used by clients. | 704 * ClientHello message. This field is used by clients. |
705 */ | 705 */ |
706 NewSessionTicket sessionTicket; | 706 NewSessionTicket sessionTicket; |
707 SECItem srvName; | 707 SECItem srvName; |
| 708 |
| 709 /* originalHandshakeHash contains the hash of the original, full |
| 710 * handshake prior to the server's final flow. This is either a |
| 711 * SHA-1/MD5 combination (for TLS < 1.2) or the TLS PRF hash (for |
| 712 * TLS 1.2). This is recorded and used only when ChannelID is |
| 713 * negotiated as it's used to bind the ChannelID signature on the |
| 714 * resumption handshake to the original handshake. */ |
| 715 SECItem originalHandshakeHash; |
708 } ssl3; | 716 } ssl3; |
709 } u; | 717 } u; |
710 }; | 718 }; |
711 | 719 |
712 | 720 |
713 typedef struct ssl3CipherSuiteDefStr { | 721 typedef struct ssl3CipherSuiteDefStr { |
714 ssl3CipherSuite cipher_suite; | 722 ssl3CipherSuite cipher_suite; |
715 SSL3BulkCipher bulk_cipher_alg; | 723 SSL3BulkCipher bulk_cipher_alg; |
716 SSL3MACAlgorithm mac_alg; | 724 SSL3MACAlgorithm mac_alg; |
717 SSL3KeyExchangeAlgorithm key_exchange_alg; | 725 SSL3KeyExchangeAlgorithm key_exchange_alg; |
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1949 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) | 1957 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) |
1950 #define SSL_GETPID getpid | 1958 #define SSL_GETPID getpid |
1951 #elif defined(WIN32) | 1959 #elif defined(WIN32) |
1952 extern int __cdecl _getpid(void); | 1960 extern int __cdecl _getpid(void); |
1953 #define SSL_GETPID _getpid | 1961 #define SSL_GETPID _getpid |
1954 #else | 1962 #else |
1955 #define SSL_GETPID() 0 | 1963 #define SSL_GETPID() 0 |
1956 #endif | 1964 #endif |
1957 | 1965 |
1958 #endif /* __sslimpl_h_ */ | 1966 #endif /* __sslimpl_h_ */ |
OLD | NEW |