Bug 530907: The peerID argument to SSL_SetSockPeerID should be declared
const. Removed an unnecessary PR_CALLBACK qualifier. r=nelson. git-svn-id: svn://10.0.0.236/trunk@259084 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d4b993f019
commit
d73ba345fb
@ -36,7 +36,7 @@
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
/* $Id: ssl.h,v 1.30 2009-11-06 20:11:27 nelson%bolyard.com Exp $ */
|
||||
/* $Id: ssl.h,v 1.31 2009-11-25 05:24:25 wtc%google.com Exp $ */
|
||||
|
||||
#ifndef __ssl_h_
|
||||
#define __ssl_h_
|
||||
@ -415,7 +415,7 @@ SSL_IMPORT SECStatus SSL_ShutdownServerSessionIDCache(void);
|
||||
** Set peer information so we can correctly look up SSL session later.
|
||||
** You only have to do this if you're tunneling through a proxy.
|
||||
*/
|
||||
SSL_IMPORT SECStatus SSL_SetSockPeerID(PRFileDesc *fd, char *peerID);
|
||||
SSL_IMPORT SECStatus SSL_SetSockPeerID(PRFileDesc *fd, const char *peerID);
|
||||
|
||||
/*
|
||||
** Reveal the security information for the peer.
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
/* $Id: sslsock.c,v 1.59 2009-11-06 20:11:29 nelson%bolyard.com Exp $ */
|
||||
/* $Id: sslsock.c,v 1.60 2009-11-25 05:24:25 wtc%google.com Exp $ */
|
||||
#include "seccomon.h"
|
||||
#include "cert.h"
|
||||
#include "keyhi.h"
|
||||
@ -1584,8 +1584,8 @@ ssl_GetSockName(PRFileDesc *fd, PRNetAddr *name)
|
||||
return (PRStatus)(*ss->ops->getsockname)(ss, name);
|
||||
}
|
||||
|
||||
SECStatus PR_CALLBACK
|
||||
SSL_SetSockPeerID(PRFileDesc *fd, char *peerID)
|
||||
SECStatus
|
||||
SSL_SetSockPeerID(PRFileDesc *fd, const char *peerID)
|
||||
{
|
||||
sslSocket *ss;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user