invite: also accept non-signed certificates from urls to post the public key to
This commit is contained in:
parent
a7dff4e67a
commit
bcf1705c4f
|
@ -81,6 +81,10 @@ namespace SparkleShare {
|
|||
|
||||
public bool Accept (string public_key)
|
||||
{
|
||||
ServicePointManager.ServerCertificateValidationCallback = delegate {
|
||||
return true;
|
||||
};
|
||||
|
||||
if (string.IsNullOrEmpty (AcceptUrl))
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue