[cert-sync]: Change back to using the '--btls' argument.
authorMartin Baulig <martin.baulig@xamarin.com>
Tue, 11 Oct 2016 16:12:06 +0000 (18:12 +0200)
committerMartin Baulig <martin.baulig@xamarin.com>
Tue, 11 Oct 2016 16:14:51 +0000 (18:14 +0200)
Without arguments, 'cert-sync' now operates on the old certificate store
again, like it was before.  To test BTLS, you need to explicitly run it
with '--btls'.

(cherry picked from commit 46379bda6d13e6e216ca3fc35654eb910c891c41)

mcs/tools/security/cert-sync.cs

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