[cert-sync]: Make the new store the default and add '--legacy' for the old one.
authorMartin Baulig <martin.baulig@xamarin.com>
Fri, 30 Sep 2016 15:28:52 +0000 (17:28 +0200)
committerMartin Baulig <martin.baulig@xamarin.com>
Fri, 30 Sep 2016 15:28:52 +0000 (17:28 +0200)
mcs/tools/security/cert-sync.cs

index 19bb75e2908be451bf7df141ef2bb60b5d4fe5ac..f253194bd75a8d28d5ca08cf0ffc4f682db7e10f 100644 (file)
@@ -50,7 +50,7 @@ namespace Mono.Tools
                static string inputFile;
                static bool quiet;
                static bool userStore;
-               static bool btlsStore;
+               static bool btlsStore = true;
 
                static X509Certificate DecodeCertificate (string s)
                {
@@ -179,8 +179,8 @@ namespace Mono.Tools
                                case "--user":
                                        userStore = true;
                                        break;
-                               case "--btls":
-                                       btlsStore = true;
+                               case "--legacy":
+                                       btlsStore = false;
                                        break;
                                default:
                                        WriteLine ("Unknown option '{0}'.", args[i]);