[haiku-commits] Re: haiku: hrev46911 - src/kits/network/libnetapi headers/os/net

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 23 Feb 2014 17:10:47 +0100

On 22.02.2014 14:52, julian.harnath@xxxxxxxxxxxxxx wrote:
  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;

Thanks, but sorry for having been unclear; the parameter names must be in the function declaration: in this case, we would use the following form:

bool
BSecureSocket::CertificateVerificationFailed(BCertificate& /*certificate*/)
{
[...]
}

Bye,
   Axel.


Other related posts: