Style fix: add parameter name
* As pointed out by Axel.
This commit is contained in:
parent
dad49763d8
commit
d10ecc2c41
@ -20,7 +20,8 @@ public:
|
|||||||
BSecureSocket(const BSecureSocket& other);
|
BSecureSocket(const BSecureSocket& other);
|
||||||
virtual ~BSecureSocket();
|
virtual ~BSecureSocket();
|
||||||
|
|
||||||
virtual bool CertificateVerificationFailed(BCertificate&);
|
virtual bool CertificateVerificationFailed(BCertificate&
|
||||||
|
certificate);
|
||||||
|
|
||||||
// BSocket implementation
|
// BSocket implementation
|
||||||
|
|
||||||
|
@ -286,11 +286,12 @@ BSecureSocket::WaitForReadable(bigtime_t timeout) const
|
|||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
BSecureSocket::CertificateVerificationFailed(BCertificate&)
|
BSecureSocket::CertificateVerificationFailed(BCertificate& certificate)
|
||||||
{
|
{
|
||||||
// Until apps actually make use of the certificate API, let's keep the old
|
// Until apps actually make use of the certificate API, let's keep the old
|
||||||
// behavior and accept all connections, even if the certificate validation
|
// behavior and accept all connections, even if the certificate validation
|
||||||
// didn't work.
|
// didn't work.
|
||||||
|
(void)certificate;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -358,8 +359,9 @@ BSecureSocket::~BSecureSocket()
|
|||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
BSecureSocket::CertificateVerificationFailed(BCertificate&)
|
BSecureSocket::CertificateVerificationFailed(BCertificate& certificate)
|
||||||
{
|
{
|
||||||
|
(void)certificate;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user