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);
|
||||
virtual ~BSecureSocket();
|
||||
|
||||
virtual bool CertificateVerificationFailed(BCertificate&);
|
||||
virtual bool CertificateVerificationFailed(BCertificate&
|
||||
certificate);
|
||||
|
||||
// BSocket implementation
|
||||
|
||||
|
@ -286,11 +286,12 @@ BSecureSocket::WaitForReadable(bigtime_t timeout) const
|
||||
|
||||
|
||||
bool
|
||||
BSecureSocket::CertificateVerificationFailed(BCertificate&)
|
||||
BSecureSocket::CertificateVerificationFailed(BCertificate& certificate)
|
||||
{
|
||||
// Until apps actually make use of the certificate API, let's keep the old
|
||||
// behavior and accept all connections, even if the certificate validation
|
||||
// didn't work.
|
||||
(void)certificate;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -358,8 +359,9 @@ BSecureSocket::~BSecureSocket()
|
||||
|
||||
|
||||
bool
|
||||
BSecureSocket::CertificateVerificationFailed(BCertificate&)
|
||||
BSecureSocket::CertificateVerificationFailed(BCertificate& certificate)
|
||||
{
|
||||
(void)certificate;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user