[SSL/TLS] Fix typo to build when INSIDE_SYSTEM is defined
authorSebastien Pouliot <sebastien@xamarin.com>
Wed, 19 Feb 2014 14:54:22 +0000 (09:54 -0500)
committerSebastien Pouliot <sebastien@xamarin.com>
Wed, 19 Feb 2014 14:54:30 +0000 (09:54 -0500)
mcs/class/Mono.Security/Mono.Security.Protocol.Tls/CipherSuiteFactory.cs

index a9d05ed78bbad83df788faf31d4e93ee587ad9c8..b8eb7ecacf8ab2bba2c6be447c4922e75411ac2f 100644 (file)
@@ -58,7 +58,7 @@ namespace Mono.Security.Protocol.Tls
 #if INSIDE_SYSTEM
                        // if SSL/TLS support is built-in System.dll (e.g. monotouch) then we can access ServicePointManager
                        // extension directly
-                       var cb = server ? ServicePointManager.ServerCipherSuitesCallback : ClientCipherSuitesCallback;
+                       var cb = server ? ServicePointManager.ServerCipherSuitesCallback : ServicePointManager.ClientCipherSuitesCallback;
                        if (cb == null)
                                return suites; // e.g. no callback was set