Need another DISABLE_CAS_USE in _SecureChannel.cs.
authorMartin Baulig <martin.baulig@xamarin.com>
Thu, 5 Mar 2015 20:47:00 +0000 (21:47 +0100)
committerMarek Safar <marek.safar@gmail.com>
Mon, 2 May 2016 22:08:00 +0000 (00:08 +0200)
mcs/class/referencesource/System/net/System/Net/_SecureChannel.cs

index 43b8cb541fd54480845d671b7c6fbe09c365b4c3..2730f8a0e60eb7f038a9569171c9914da71912e4 100644 (file)
@@ -385,7 +385,9 @@ namespace System.Net.Security {
                 // demand the same permissions, then we should remove our
                 // demand here.
                 //
+                #if !DISABLE_CAS_USE
                 ExceptionHelper.KeyContainerPermissionOpen.Demand(); 
+                #endif
                 
                 X509Certificate2Collection collectionEx;