invite: also accept non-signed certificates from urls to post the public key to

This commit is contained in:
Hylke Bons 2012-08-18 17:23:52 +01:00
parent 07c857c372
commit f2121a31b6

View file

@ -81,6 +81,10 @@ namespace SparkleShare {
public bool Accept (string public_key)
{
ServicePointManager.ServerCertificateValidationCallback = delegate {
return true;
};
if (string.IsNullOrEmpty (AcceptUrl))
return true;