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 1827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | |
1850 extern SECStatus ssl_FreeSessionCacheLocks(void); | |
1851 | 1849 |
1852 /***************** platform client auth ****************/ | 1850 /***************** platform client auth ****************/ |
1853 | 1851 |
1854 #ifdef NSS_PLATFORM_CLIENT_AUTH | 1852 #ifdef NSS_PLATFORM_CLIENT_AUTH |
1855 // Releases the platform key. | 1853 // Releases the platform key. |
1856 extern void ssl_FreePlatformKey(PlatformKey key); | 1854 extern void ssl_FreePlatformKey(PlatformKey key); |
1857 | 1855 |
1858 // Implement the client CertificateVerify message for SSL3/TLS1.0 | 1856 // Implement the client CertificateVerify message for SSL3/TLS1.0 |
1859 extern SECStatus ssl3_PlatformSignHashes(SSL3Hashes *hash, | 1857 extern SECStatus ssl3_PlatformSignHashes(SSL3Hashes *hash, |
1860 PlatformKey key, SECItem *buf, | 1858 PlatformKey key, SECItem *buf, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1937 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) | 1935 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) |
1938 #define SSL_GETPID getpid | 1936 #define SSL_GETPID getpid |
1939 #elif defined(WIN32) | 1937 #elif defined(WIN32) |
1940 extern int __cdecl _getpid(void); | 1938 extern int __cdecl _getpid(void); |
1941 #define SSL_GETPID _getpid | 1939 #define SSL_GETPID _getpid |
1942 #else | 1940 #else |
1943 #define SSL_GETPID() 0 | 1941 #define SSL_GETPID() 0 |
1944 #endif | 1942 #endif |
1945 | 1943 |
1946 #endif /* __sslimpl_h_ */ | 1944 #endif /* __sslimpl_h_ */ |
OLD | NEW |