3 ms·
bool ValidateCertificate(cert) { return true; }
by billpg 7y ago
bool ValidateCertificate(cert)
{
return true;
}
- tialaramex 7y agohttps://github.com/haiku/haiku/blob/master/src/kits/network/libnetapi/SecureSocket.cpp#L532 https://github.com/haiku/haiku/blob/master/src/kits/network/...
- waddlesplash 7y agoThis is the default implementation; our WebKit port (the main consumer of this API) has a subclass of this which shows a "this certificate is invalid, do you want to continue?" message and actually returns false. But it's been multiple years since that comment was added, probably more than time to fix that. Thanks for the (inadvertent) reminder :) EDIT: done. https://git.haiku-os.org/haiku/commit/?id=a830ec9a1c5f0e359bac214710f002f29dbd1d76 https://git.haiku-os.org/haiku/commit/?id=a830ec9a1c5f0e359b...