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

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

Issue 16195008: Support the new supported_signature_algorithms field of the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 /* $Id$ */ 8 /* $Id$ */
9 9
10 #ifndef __sslimpl_h_ 10 #ifndef __sslimpl_h_
(...skipping 1648 matching lines...) Expand 10 before | Expand all | Expand 10 after
1659 extern SECStatus ssl3_AppendHandshake(sslSocket *ss, const void *void_src, 1659 extern SECStatus ssl3_AppendHandshake(sslSocket *ss, const void *void_src,
1660 PRInt32 bytes); 1660 PRInt32 bytes);
1661 extern SECStatus ssl3_AppendHandshakeHeader(sslSocket *ss, 1661 extern SECStatus ssl3_AppendHandshakeHeader(sslSocket *ss,
1662 SSL3HandshakeType t, PRUint32 length); 1662 SSL3HandshakeType t, PRUint32 length);
1663 extern SECStatus ssl3_AppendHandshakeNumber(sslSocket *ss, PRInt32 num, 1663 extern SECStatus ssl3_AppendHandshakeNumber(sslSocket *ss, PRInt32 num,
1664 PRInt32 lenSize); 1664 PRInt32 lenSize);
1665 extern SECStatus ssl3_AppendHandshakeVariable( sslSocket *ss, 1665 extern SECStatus ssl3_AppendHandshakeVariable( sslSocket *ss,
1666 const SSL3Opaque *src, PRInt32 bytes, PRInt32 lenSize); 1666 const SSL3Opaque *src, PRInt32 bytes, PRInt32 lenSize);
1667 extern SECStatus ssl3_AppendSignatureAndHashAlgorithm(sslSocket *ss, 1667 extern SECStatus ssl3_AppendSignatureAndHashAlgorithm(sslSocket *ss,
1668 const SSL3SignatureAndHashAlgorithm* sigAndHash); 1668 const SSL3SignatureAndHashAlgorithm* sigAndHash);
1669 extern SECStatus ssl3_AppendSupportedSignatureAlgorithms(sslSocket *ss);
1670 extern unsigned int ssl3_SizeOfSupportedSignatureAlgorithms(void);
1669 extern SECStatus ssl3_ConsumeHandshake(sslSocket *ss, void *v, PRInt32 bytes, 1671 extern SECStatus ssl3_ConsumeHandshake(sslSocket *ss, void *v, PRInt32 bytes,
1670 SSL3Opaque **b, PRUint32 *length); 1672 SSL3Opaque **b, PRUint32 *length);
1671 extern PRInt32 ssl3_ConsumeHandshakeNumber(sslSocket *ss, PRInt32 bytes, 1673 extern PRInt32 ssl3_ConsumeHandshakeNumber(sslSocket *ss, PRInt32 bytes,
1672 SSL3Opaque **b, PRUint32 *length); 1674 SSL3Opaque **b, PRUint32 *length);
1673 extern SECStatus ssl3_ConsumeHandshakeVariable(sslSocket *ss, SECItem *i, 1675 extern SECStatus ssl3_ConsumeHandshakeVariable(sslSocket *ss, SECItem *i,
1674 PRInt32 bytes, SSL3Opaque **b, PRUint32 *length); 1676 PRInt32 bytes, SSL3Opaque **b, PRUint32 *length);
1675 extern SECOidTag ssl3_TLSHashAlgorithmToOID(int hashFunc); 1677 extern SECOidTag ssl3_TLSHashAlgorithmToOID(int hashFunc);
1676 extern SECStatus ssl3_CheckSignatureAndHashAlgorithmConsistency( 1678 extern SECStatus ssl3_CheckSignatureAndHashAlgorithmConsistency(
1677 const SSL3SignatureAndHashAlgorithm *sigAndHash, 1679 const SSL3SignatureAndHashAlgorithm *sigAndHash,
1678 CERTCertificate* cert); 1680 CERTCertificate* cert);
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1891 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) 1893 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS)
1892 #define SSL_GETPID getpid 1894 #define SSL_GETPID getpid
1893 #elif defined(WIN32) 1895 #elif defined(WIN32)
1894 extern int __cdecl _getpid(void); 1896 extern int __cdecl _getpid(void);
1895 #define SSL_GETPID _getpid 1897 #define SSL_GETPID _getpid
1896 #else 1898 #else
1897 #define SSL_GETPID() 0 1899 #define SSL_GETPID() 0
1898 #endif 1900 #endif
1899 1901
1900 #endif /* __sslimpl_h_ */ 1902 #endif /* __sslimpl_h_ */
OLDNEW
« net/third_party/nss/ssl/ssl3con.c ('K') | « 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