Chromium Code Reviews| 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 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 691 PRUint16 clAuthSeries; | 691 PRUint16 clAuthSeries; |
| 692 | 692 |
| 693 char masterValid; | 693 char masterValid; |
| 694 char clAuthValid; | 694 char clAuthValid; |
| 695 | 695 |
| 696 /* Session ticket if we have one, is sent as an extension in the | 696 /* Session ticket if we have one, is sent as an extension in the |
| 697 * ClientHello message. This field is used by clients. | 697 * ClientHello message. This field is used by clients. |
| 698 */ | 698 */ |
| 699 NewSessionTicket sessionTicket; | 699 NewSessionTicket sessionTicket; |
| 700 SECItem srvName; | 700 SECItem srvName; |
| 701 | |
| 702 /* lastHandshakeHash contains the hash of the original, full | |
| 703 * handshake. This is either a SHA-1/MD5 combination (for TLS < | |
|
wtc
2013/11/14 00:50:56
IMPORTANT: this hash does not include the final ha
agl
2013/11/14 18:50:42
Done.
| |
| 704 * 1.2) or a SHA-2 hash (for TLS 1.2). This is recorded and used | |
|
wtc
2013/11/14 00:50:56
To be future proof, we should say this is the hash
agl
2013/11/14 18:50:42
Done.
| |
| 705 * only when ChannelID is negotiated as it's used to bind the | |
| 706 * ChannelID signature on the resumption handshake to the original | |
| 707 * handshake. */ | |
| 708 SECItem lastHandshakeHash; | |
|
wtc
2013/11/14 00:50:56
Nit: "last" can also be interpreted to mean the in
agl
2013/11/14 18:50:42
Went with originalHandshakeHash.
| |
| 701 } ssl3; | 709 } ssl3; |
| 702 } u; | 710 } u; |
| 703 }; | 711 }; |
| 704 | 712 |
| 705 | 713 |
| 706 typedef struct ssl3CipherSuiteDefStr { | 714 typedef struct ssl3CipherSuiteDefStr { |
| 707 ssl3CipherSuite cipher_suite; | 715 ssl3CipherSuite cipher_suite; |
| 708 SSL3BulkCipher bulk_cipher_alg; | 716 SSL3BulkCipher bulk_cipher_alg; |
| 709 SSL3MACAlgorithm mac_alg; | 717 SSL3MACAlgorithm mac_alg; |
| 710 SSL3KeyExchangeAlgorithm key_exchange_alg; | 718 SSL3KeyExchangeAlgorithm key_exchange_alg; |
| (...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1942 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) | 1950 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) |
| 1943 #define SSL_GETPID getpid | 1951 #define SSL_GETPID getpid |
| 1944 #elif defined(WIN32) | 1952 #elif defined(WIN32) |
| 1945 extern int __cdecl _getpid(void); | 1953 extern int __cdecl _getpid(void); |
| 1946 #define SSL_GETPID _getpid | 1954 #define SSL_GETPID _getpid |
| 1947 #else | 1955 #else |
| 1948 #define SSL_GETPID() 0 | 1956 #define SSL_GETPID() 0 |
| 1949 #endif | 1957 #endif |
| 1950 | 1958 |
| 1951 #endif /* __sslimpl_h_ */ | 1959 #endif /* __sslimpl_h_ */ |
| OLD | NEW |