فهرست منبع

make it compile

svn path=/trunk/mcs/; revision=137257
Gonzalo Paniagua Javier 16 سال پیش
والد
کامیت
db470fe4d2
1فایلهای تغییر یافته به همراه11 افزوده شده و 2 حذف شده
  1. 11 2
      mcs/class/System/System.Net.Security/RemoteCertificateValidationCallback.cs

+ 11 - 2
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
+