Alpha code for Secret Persistence Policy. In Progress.
This commit is contained in:
		| @@ -132,12 +132,15 @@ public class PersistencePol : CASAPol | |||||||
| 		ArrayList al = new ArrayList(); | 		ArrayList al = new ArrayList(); | ||||||
| 		 | 		 | ||||||
| 		//enumerate all secrets loaded | 		//enumerate all secrets loaded | ||||||
| 		IDictionaryEnumerator idEnum = htSecretPolicys.GetEnumerator(); | 		if (htSecretPolicys != null) | ||||||
| 		while (idEnum.MoveNext()) |  | ||||||
| 		{ | 		{ | ||||||
| 			string sSecretID = (string)idEnum.Key; | 			IDictionaryEnumerator idEnum = htSecretPolicys.GetEnumerator(); | ||||||
| 			al.Add(sSecretID); | 			while (idEnum.MoveNext()) | ||||||
| 		}		 | 			{ | ||||||
|  | 				string sSecretID = (string)idEnum.Key; | ||||||
|  | 				al.Add(sSecretID); | ||||||
|  | 			} | ||||||
|  | 		} | ||||||
| 		 | 		 | ||||||
| 		return al; | 		return al; | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user