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

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

Issue 24216005: NSS: fix session cache lock initialisation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months 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
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 1827 matching lines...) Expand 10 before | Expand all | Expand 10 after
1838 extern PRBool 1838 extern PRBool
1839 ssl_SetWrappingKey(SSLWrappedSymWrappingKey *wswk); 1839 ssl_SetWrappingKey(SSLWrappedSymWrappingKey *wswk);
1840 1840
1841 /* get rid of the symmetric wrapping key references. */ 1841 /* get rid of the symmetric wrapping key references. */
1842 extern SECStatus SSL3_ShutdownServerCache(void); 1842 extern SECStatus SSL3_ShutdownServerCache(void);
1843 1843
1844 extern SECStatus ssl_InitSymWrapKeysLock(void); 1844 extern SECStatus ssl_InitSymWrapKeysLock(void);
1845 1845
1846 extern SECStatus ssl_FreeSymWrapKeysLock(void); 1846 extern SECStatus ssl_FreeSymWrapKeysLock(void);
1847 1847
1848 extern SECStatus ssl_InitSessionCacheLocks(PRBool lazyInit); 1848 extern SECStatus ssl_InitSessionCacheLocks(void);
1849 1849
1850 extern SECStatus ssl_FreeSessionCacheLocks(void); 1850 extern SECStatus ssl_FreeSessionCacheLocks(void);
wtc 2013/09/19 04:37:51 If we mark ssl_FreeSessionCacheLocks as static, re
agl 2013/09/19 17:40:51 Done.
1851 1851
1852 /***************** platform client auth ****************/ 1852 /***************** platform client auth ****************/
1853 1853
1854 #ifdef NSS_PLATFORM_CLIENT_AUTH 1854 #ifdef NSS_PLATFORM_CLIENT_AUTH
1855 // Releases the platform key. 1855 // Releases the platform key.
1856 extern void ssl_FreePlatformKey(PlatformKey key); 1856 extern void ssl_FreePlatformKey(PlatformKey key);
1857 1857
1858 // Implement the client CertificateVerify message for SSL3/TLS1.0 1858 // Implement the client CertificateVerify message for SSL3/TLS1.0
1859 extern SECStatus ssl3_PlatformSignHashes(SSL3Hashes *hash, 1859 extern SECStatus ssl3_PlatformSignHashes(SSL3Hashes *hash,
1860 PlatformKey key, SECItem *buf, 1860 PlatformKey key, SECItem *buf,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
1937 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) 1937 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS)
1938 #define SSL_GETPID getpid 1938 #define SSL_GETPID getpid
1939 #elif defined(WIN32) 1939 #elif defined(WIN32)
1940 extern int __cdecl _getpid(void); 1940 extern int __cdecl _getpid(void);
1941 #define SSL_GETPID _getpid 1941 #define SSL_GETPID _getpid
1942 #else 1942 #else
1943 #define SSL_GETPID() 0 1943 #define SSL_GETPID() 0
1944 #endif 1944 #endif
1945 1945
1946 #endif /* __sslimpl_h_ */ 1946 #endif /* __sslimpl_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698