Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: net/third_party/nss/ssl/sslimpl.h

Issue 62103003: NSS: add `balloon' extension to when we might hit the F5 bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/third_party/nss/ssl/ssl3ext.c ('k') | net/third_party/nss/ssl/sslt.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 } ssl3HelloExtensionHandler; 230 } ssl3HelloExtensionHandler;
231 231
232 extern SECStatus 232 extern SECStatus
233 ssl3_RegisterServerHelloExtensionSender(sslSocket *ss, PRUint16 ex_type, 233 ssl3_RegisterServerHelloExtensionSender(sslSocket *ss, PRUint16 ex_type,
234 ssl3HelloExtensionSenderFunc cb); 234 ssl3HelloExtensionSenderFunc cb);
235 235
236 extern PRInt32 236 extern PRInt32
237 ssl3_CallHelloExtensionSenders(sslSocket *ss, PRBool append, PRUint32 maxBytes, 237 ssl3_CallHelloExtensionSenders(sslSocket *ss, PRBool append, PRUint32 maxBytes,
238 const ssl3HelloExtensionSender *sender); 238 const ssl3HelloExtensionSender *sender);
239 239
240 extern unsigned int
241 ssl3_CalculatePaddingExtensionLength(unsigned int clientHelloLength);
242
243 extern unsigned int
244 ssl3_AppendPaddingExtension(sslSocket *ss, unsigned int extensionLen,
245 PRUint32 maxBytes);
246
240 /* Socket ops */ 247 /* Socket ops */
241 struct sslSocketOpsStr { 248 struct sslSocketOpsStr {
242 int (*connect) (sslSocket *, const PRNetAddr *); 249 int (*connect) (sslSocket *, const PRNetAddr *);
243 PRFileDesc *(*accept) (sslSocket *, PRNetAddr *); 250 PRFileDesc *(*accept) (sslSocket *, PRNetAddr *);
244 int (*bind) (sslSocket *, const PRNetAddr *); 251 int (*bind) (sslSocket *, const PRNetAddr *);
245 int (*listen) (sslSocket *, int); 252 int (*listen) (sslSocket *, int);
246 int (*shutdown)(sslSocket *, int); 253 int (*shutdown)(sslSocket *, int);
247 int (*close) (sslSocket *); 254 int (*close) (sslSocket *);
248 255
249 int (*recv) (sslSocket *, unsigned char *, int, int); 256 int (*recv) (sslSocket *, unsigned char *, int, int);
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) 1949 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS)
1943 #define SSL_GETPID getpid 1950 #define SSL_GETPID getpid
1944 #elif defined(WIN32) 1951 #elif defined(WIN32)
1945 extern int __cdecl _getpid(void); 1952 extern int __cdecl _getpid(void);
1946 #define SSL_GETPID _getpid 1953 #define SSL_GETPID _getpid
1947 #else 1954 #else
1948 #define SSL_GETPID() 0 1955 #define SSL_GETPID() 0
1949 #endif 1956 #endif
1950 1957
1951 #endif /* __sslimpl_h_ */ 1958 #endif /* __sslimpl_h_ */
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/ssl3ext.c ('k') | net/third_party/nss/ssl/sslt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698