| 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 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1794 | 1794 |
| 1795 extern SECStatus ssl3_GetTLSUniqueChannelBinding(sslSocket *ss, | 1795 extern SECStatus ssl3_GetTLSUniqueChannelBinding(sslSocket *ss, |
| 1796 unsigned char *out, | 1796 unsigned char *out, |
| 1797 unsigned int *outLen, | 1797 unsigned int *outLen, |
| 1798 unsigned int outLenMax); | 1798 unsigned int outLenMax); |
| 1799 | 1799 |
| 1800 /* Construct a new NSPR socket for the app to use */ | 1800 /* Construct a new NSPR socket for the app to use */ |
| 1801 extern PRFileDesc *ssl_NewPRSocket(sslSocket *ss, PRFileDesc *fd); | 1801 extern PRFileDesc *ssl_NewPRSocket(sslSocket *ss, PRFileDesc *fd); |
| 1802 extern void ssl_FreePRSocket(PRFileDesc *fd); | 1802 extern void ssl_FreePRSocket(PRFileDesc *fd); |
| 1803 | 1803 |
| 1804 /* Internal config function so SSL2 can initialize the present state of | 1804 /* Internal config function so SSL3 can initialize the present state of |
| 1805 * various ciphers */ | 1805 * various ciphers */ |
| 1806 extern int ssl3_config_match_init(sslSocket *); | 1806 extern int ssl3_config_match_init(sslSocket *); |
| 1807 | 1807 |
| 1808 /* Create a new ref counted key pair object from two keys. */ | 1808 /* Create a new ref counted key pair object from two keys. */ |
| 1809 extern ssl3KeyPair * ssl3_NewKeyPair( SECKEYPrivateKey * privKey, | 1809 extern ssl3KeyPair * ssl3_NewKeyPair( SECKEYPrivateKey * privKey, |
| 1810 SECKEYPublicKey * pubKey); | 1810 SECKEYPublicKey * pubKey); |
| 1811 | 1811 |
| 1812 /* get a new reference (bump ref count) to an ssl3KeyPair. */ | 1812 /* get a new reference (bump ref count) to an ssl3KeyPair. */ |
| 1813 extern ssl3KeyPair * ssl3_GetKeyPairRef(ssl3KeyPair * keyPair); | 1813 extern ssl3KeyPair * ssl3_GetKeyPairRef(ssl3KeyPair * keyPair); |
| 1814 | 1814 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1932 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) | 1932 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) |
| 1933 #define SSL_GETPID getpid | 1933 #define SSL_GETPID getpid |
| 1934 #elif defined(WIN32) | 1934 #elif defined(WIN32) |
| 1935 extern int __cdecl _getpid(void); | 1935 extern int __cdecl _getpid(void); |
| 1936 #define SSL_GETPID _getpid | 1936 #define SSL_GETPID _getpid |
| 1937 #else | 1937 #else |
| 1938 #define SSL_GETPID() 0 | 1938 #define SSL_GETPID() 0 |
| 1939 #endif | 1939 #endif |
| 1940 | 1940 |
| 1941 #endif /* __sslimpl_h_ */ | 1941 #endif /* __sslimpl_h_ */ |
| OLD | NEW |