Author: spouliot
Date: 2006-03-24 11:36:28 -0500 (Fri, 24 Mar 2006)
New Revision: 58431

Modified:
   trunk/mcs/class/Mono.Security/Test/tools/mutual/mutual.cs
   trunk/mcs/class/Mono.Security/Test/tools/tlstest/tlstest.cs
Log:
a few minor fixes to make the test tools more useful

Modified: trunk/mcs/class/Mono.Security/Test/tools/mutual/mutual.cs
===================================================================
--- trunk/mcs/class/Mono.Security/Test/tools/mutual/mutual.cs   2006-03-24 
16:35:01 UTC (rev 58430)
+++ trunk/mcs/class/Mono.Security/Test/tools/mutual/mutual.cs   2006-03-24 
16:36:28 UTC (rev 58431)
@@ -49,7 +49,8 @@
                ssl.PrivateKeyCertSelectionDelegate += new 
PrivateKeySelectionCallback (PrivateKeySelection);
        
                StreamWriter sw = new StreamWriter (ssl, 
System.Text.Encoding.ASCII);
-               sw.WriteLine ("Hello");
+               sw.WriteLine ("GET /clientcert.aspx{0}", Environment.NewLine);
+               sw.Flush ();
 
                StreamReader sr = new StreamReader (ssl);
                Console.WriteLine (sr.ReadToEnd ());

Modified: trunk/mcs/class/Mono.Security/Test/tools/tlstest/tlstest.cs
===================================================================
--- trunk/mcs/class/Mono.Security/Test/tools/tlstest/tlstest.cs 2006-03-24 
16:35:01 UTC (rev 58430)
+++ trunk/mcs/class/Mono.Security/Test/tools/tlstest/tlstest.cs 2006-03-24 
16:36:28 UTC (rev 58431)
@@ -207,7 +207,7 @@
                ssl.ServerCertValidationDelegate += new 
CertificateValidationCallback (CertificateValidation);
 
                StreamWriter sw = new StreamWriter (ssl);
-               sw.WriteLine ("GET {0}{1}", uri.AbsolutePath, 
Environment.NewLine);
+               sw.WriteLine ("GET {0} HTTP/1.0{1}", uri.AbsolutePath, 
Environment.NewLine);
                sw.Flush ();
 
                StreamReader sr = new StreamReader (ssl, Encoding.UTF8);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to