Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-07-02 11:42:17 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-07-02 11:42:17 +0400
commitdb470fe4d2ca03ea44c0db42ce981ff6cc10eb70 (patch)
treea89933cbe35b869cc72202709b6d42665ae035a2 /mcs/class/System
parentcd833bd5a0c7df3affaba266d119ac5473dbac10 (diff)
make it compile
svn path=/trunk/mcs/; revision=137257
Diffstat (limited to 'mcs/class/System')
-rw-r--r--mcs/class/System/System.Net.Security/RemoteCertificateValidationCallback.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/mcs/class/System/System.Net.Security/RemoteCertificateValidationCallback.cs b/mcs/class/System/System.Net.Security/RemoteCertificateValidationCallback.cs
index a23d8607d7c..c7ab73a319a 100644
--- a/mcs/class/System/System.Net.Security/RemoteCertificateValidationCallback.cs
+++ b/mcs/class/System/System.Net.Security/RemoteCertificateValidationCallback.cs
@@ -29,17 +29,26 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0 && SECURITY_DEP
+#if NET_2_0
using System.Security.Cryptography.X509Certificates;
namespace System.Net.Security
{
- public delegate bool RemoteCertificateValidationCallback (
+#if !NET_2_1
+ public
+#endif
+ delegate bool RemoteCertificateValidationCallback (
object sender,
+#if !NET_2_1
X509Certificate certificate,
X509Chain chain,
+#else
+ object certificate,
+ object chain,
+#endif
SslPolicyErrors sslPolicyErrors);
}
#endif
+