http://bugzilla.novell.com/show_bug.cgi?id=594110

http://bugzilla.novell.com/show_bug.cgi?id=594110#c4


--- Comment #4 from Sebastien Pouliot <spoul...@novell.com> 2010-04-08 13:41:15 
UTC ---
The fix is:

Index: System.Net/ServicePointManager.cs
===================================================================
--- System.Net/ServicePointManager.cs    (revision 155046)
+++ System.Net/ServicePointManager.cs    (working copy)
@@ -627,8 +627,7 @@
                     X509Extension ext = cert.Extensions ["2.5.29.17"];
                     // 1. subjectAltName
                     if (ext != null) {
-                        ASN1 asn = new ASN1 (ext.RawData);
-                        SubjectAltNameExtension subjectAltName = new
SubjectAltNameExtension (asn);
+                        SubjectAltNameExtension subjectAltName = new
SubjectAltNameExtension (ext);
                         // 1.1 - multiple dNSName
                         foreach (string dns in subjectAltName.DNSNames) {
                             // 1.2 TODO - wildcard support


but that needs a bit more work since it breaks the build (likely a bootstrap
issue)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to