Commit 8934ff5a authored by Honfika's avatar Honfika

Pass the ProxyServer object to CertificateSelection callbacks

parent 2365bdba
...@@ -33,7 +33,7 @@ namespace Titanium.Web.Proxy ...@@ -33,7 +33,7 @@ namespace Titanium.Web.Proxy
}; };
//why is the sender null? //why is the sender null?
ServerCertificateValidationCallback.InvokeParallel(null, args); ServerCertificateValidationCallback.InvokeParallel(this, args);
return args.IsValid; return args.IsValid;
} }
...@@ -100,7 +100,7 @@ namespace Titanium.Web.Proxy ...@@ -100,7 +100,7 @@ namespace Titanium.Web.Proxy
}; };
//why is the sender null? //why is the sender null?
ClientCertificateSelectionCallback.InvokeParallel(null, args); ClientCertificateSelectionCallback.InvokeParallel(this, args);
return args.ClientCertificate; return args.ClientCertificate;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment