| 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 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1812 extern PRBool | 1812 extern PRBool |
| 1813 ssl_SetWrappingKey(SSLWrappedSymWrappingKey *wswk); | 1813 ssl_SetWrappingKey(SSLWrappedSymWrappingKey *wswk); |
| 1814 | 1814 |
| 1815 /* get rid of the symmetric wrapping key references. */ | 1815 /* get rid of the symmetric wrapping key references. */ |
| 1816 extern SECStatus SSL3_ShutdownServerCache(void); | 1816 extern SECStatus SSL3_ShutdownServerCache(void); |
| 1817 | 1817 |
| 1818 extern SECStatus ssl_InitSymWrapKeysLock(void); | 1818 extern SECStatus ssl_InitSymWrapKeysLock(void); |
| 1819 | 1819 |
| 1820 extern SECStatus ssl_FreeSymWrapKeysLock(void); | 1820 extern SECStatus ssl_FreeSymWrapKeysLock(void); |
| 1821 | 1821 |
| 1822 extern SECStatus ssl_InitSessionCacheLocks(PRBool lazyInit); | 1822 extern SECStatus ssl_InitSessionCacheLocks(void); |
| 1823 | |
| 1824 extern SECStatus ssl_FreeSessionCacheLocks(void); | |
| 1825 | 1823 |
| 1826 /***************** platform client auth ****************/ | 1824 /***************** platform client auth ****************/ |
| 1827 | 1825 |
| 1828 #ifdef NSS_PLATFORM_CLIENT_AUTH | 1826 #ifdef NSS_PLATFORM_CLIENT_AUTH |
| 1829 // Releases the platform key. | 1827 // Releases the platform key. |
| 1830 extern void ssl_FreePlatformKey(PlatformKey key); | 1828 extern void ssl_FreePlatformKey(PlatformKey key); |
| 1831 | 1829 |
| 1832 // Implement the client CertificateVerify message for SSL3/TLS1.0 | 1830 // Implement the client CertificateVerify message for SSL3/TLS1.0 |
| 1833 extern SECStatus ssl3_PlatformSignHashes(SSL3Hashes *hash, | 1831 extern SECStatus ssl3_PlatformSignHashes(SSL3Hashes *hash, |
| 1834 PlatformKey key, SECItem *buf, | 1832 PlatformKey key, SECItem *buf, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1913 #elif defined(_WIN32_WCE) | 1911 #elif defined(_WIN32_WCE) |
| 1914 #define SSL_GETPID GetCurrentProcessId | 1912 #define SSL_GETPID GetCurrentProcessId |
| 1915 #elif defined(WIN32) | 1913 #elif defined(WIN32) |
| 1916 extern int __cdecl _getpid(void); | 1914 extern int __cdecl _getpid(void); |
| 1917 #define SSL_GETPID _getpid | 1915 #define SSL_GETPID _getpid |
| 1918 #else | 1916 #else |
| 1919 #define SSL_GETPID() 0 | 1917 #define SSL_GETPID() 0 |
| 1920 #endif | 1918 #endif |
| 1921 | 1919 |
| 1922 #endif /* __sslimpl_h_ */ | 1920 #endif /* __sslimpl_h_ */ |
| OLD | NEW |