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 * ***** 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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 942 /* used by server. trusted CAs for this socket. */ | 942 /* used by server. trusted CAs for this socket. */ |
| 943 PRBool initialized; | 943 PRBool initialized; |
| 944 SSL3HandshakeState hs; | 944 SSL3HandshakeState hs; |
| 945 ssl3CipherSpec specs[2]; /* one is current, one is pending. */ | 945 ssl3CipherSpec specs[2]; /* one is current, one is pending. */ |
| 946 | 946 |
| 947 /* In a client: if the server supports Next Protocol Negotiation, then | 947 /* In a client: if the server supports Next Protocol Negotiation, then |
| 948 * this is the protocol that was negotiated. | 948 * this is the protocol that was negotiated. |
| 949 */ | 949 */ |
| 950 SECItem nextProto; | 950 SECItem nextProto; |
| 951 SSLNextProtoState nextProtoState; | 951 SSLNextProtoState nextProtoState; |
| 952 SECKEYPrivateKey * channelID; /* ECC private key. Used by client. */ | |
| 953 SECKEYPublicKey * channelIDPub; /* ECC public key. Used by client. */ | |
|
wtc
2012/05/24 23:10:03
Since these are closely related to client certific
agl
2012/05/30 15:28:33
Done.
| |
| 952 | 954 |
| 953 PRUint16 mtu; /* Our estimate of the MTU */ | 955 PRUint16 mtu; /* Our estimate of the MTU */ |
| 954 }; | 956 }; |
| 955 | 957 |
| 956 #define DTLS_MAX_MTU 1500 /* Ethernet MTU but without subtracting the | 958 #define DTLS_MAX_MTU 1500 /* Ethernet MTU but without subtracting the |
| 957 * headers, so slightly larger than expected */ | 959 * headers, so slightly larger than expected */ |
| 958 #define IS_DTLS(ss) (ss->protocolVariant == ssl_variant_datagram) | 960 #define IS_DTLS(ss) (ss->protocolVariant == ssl_variant_datagram) |
| 959 | 961 |
| 960 typedef struct { | 962 typedef struct { |
| 961 SSL3ContentType type; | 963 SSL3ContentType type; |
| (...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1896 #elif defined(_WIN32_WCE) | 1898 #elif defined(_WIN32_WCE) |
| 1897 #define SSL_GETPID GetCurrentProcessId | 1899 #define SSL_GETPID GetCurrentProcessId |
| 1898 #elif defined(WIN32) | 1900 #elif defined(WIN32) |
| 1899 extern int __cdecl _getpid(void); | 1901 extern int __cdecl _getpid(void); |
| 1900 #define SSL_GETPID _getpid | 1902 #define SSL_GETPID _getpid |
| 1901 #else | 1903 #else |
| 1902 #define SSL_GETPID() 0 | 1904 #define SSL_GETPID() 0 |
| 1903 #endif | 1905 #endif |
| 1904 | 1906 |
| 1905 #endif /* __sslimpl_h_ */ | 1907 #endif /* __sslimpl_h_ */ |
| OLD | NEW |