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

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

Issue 66553007: net: don't add padding extension for SSLv3. (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') | no next file » | 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 240 extern unsigned int
241 ssl3_CalculatePaddingExtensionLength(unsigned int clientHelloLength); 241 ssl3_CalculatePaddingExtensionLength(unsigned int clientHelloLength);
242 242
243 extern unsigned int 243 extern PRInt32
244 ssl3_AppendPaddingExtension(sslSocket *ss, unsigned int extensionLen, 244 ssl3_AppendPaddingExtension(sslSocket *ss, unsigned int extensionLen,
245 PRUint32 maxBytes); 245 PRUint32 maxBytes);
246 246
247 /* Socket ops */ 247 /* Socket ops */
248 struct sslSocketOpsStr { 248 struct sslSocketOpsStr {
249 int (*connect) (sslSocket *, const PRNetAddr *); 249 int (*connect) (sslSocket *, const PRNetAddr *);
250 PRFileDesc *(*accept) (sslSocket *, PRNetAddr *); 250 PRFileDesc *(*accept) (sslSocket *, PRNetAddr *);
251 int (*bind) (sslSocket *, const PRNetAddr *); 251 int (*bind) (sslSocket *, const PRNetAddr *);
252 int (*listen) (sslSocket *, int); 252 int (*listen) (sslSocket *, int);
253 int (*shutdown)(sslSocket *, int); 253 int (*shutdown)(sslSocket *, int);
(...skipping 1695 matching lines...) Expand 10 before | Expand all | Expand 10 after
1949 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) 1949 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS)
1950 #define SSL_GETPID getpid 1950 #define SSL_GETPID getpid
1951 #elif defined(WIN32) 1951 #elif defined(WIN32)
1952 extern int __cdecl _getpid(void); 1952 extern int __cdecl _getpid(void);
1953 #define SSL_GETPID _getpid 1953 #define SSL_GETPID _getpid
1954 #else 1954 #else
1955 #define SSL_GETPID() 0 1955 #define SSL_GETPID() 0
1956 #endif 1956 #endif
1957 1957
1958 #endif /* __sslimpl_h_ */ 1958 #endif /* __sslimpl_h_ */
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/ssl3ext.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698