소스 검색

2005-05-19 Sebastien Pouliot <[email protected]>

	* CryptoConfig.cs: Don't use the global hashtables until the 
	initialization is complete.


svn path=/trunk/mcs/; revision=44752
Sebastien Pouliot 20 년 전
부모
커밋
6d616545ae
2개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 0
      mcs/class/corlib/System.Security.Cryptography/ChangeLog
  2. 2 2
      mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs

+ 5 - 0
mcs/class/corlib/System.Security.Cryptography/ChangeLog

@@ -1,3 +1,8 @@
+2005-05-19  Sebastien Pouliot  <[email protected]>
+
+	* CryptoConfig.cs: Don't use the global hashtables until the 
+	initialization is complete.
+
 2005-05-18  Sebastien Pouliot  <[email protected]>
 
 	* CryptoConfig.cs: Changed lock pattern to second version of

+ 2 - 2
mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs

@@ -354,7 +354,7 @@ public class CryptoConfig {
 
 		// Add/modify the config as specified by machine.config
 		string config = Environment.GetMachineConfigPath ();
-		LoadConfig (config);
+		LoadConfig (config, algorithms, oid);
 
 		// update
 		CryptoConfig.algorithms = algorithms;
@@ -362,7 +362,7 @@ public class CryptoConfig {
 	}
 
 	[FileIOPermission (SecurityAction.Assert, Unrestricted = true)]
-	private static void LoadConfig (string filename) 
+	private static void LoadConfig (string filename, Hashtable algorithms, Hashtable oid)
 	{
 		if (!File.Exists (filename))
 			return;