diff options
Diffstat (limited to 'mcs/class/System/System.Security.Cryptography.X509Certificates')
3 files changed, 13 insertions, 3 deletions
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog b/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog index 7a100461ec1..7e4fa19e875 100644 --- a/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog +++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog @@ -1,3 +1,10 @@ +2006-03-11 Miguel de Icaza <miguel@novell.com> + + * X509Chain.cs: Flagged member as internal to avoid unused warning. + + * X500DistinguishedName.cs: Comment out unused names and move + temporary unused variables inside the comments that were removed + 2005-11-24 Sebastien Pouliot <sebastien@ximian.com> * X500DistinguishedName.cs: Added validation (still missing parsing). diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/X500DistinguishedName.cs b/mcs/class/System/System.Security.Cryptography.X509Certificates/X500DistinguishedName.cs index 1c5bdb399a1..c6cfa42c026 100644 --- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X500DistinguishedName.cs +++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X500DistinguishedName.cs @@ -148,6 +148,7 @@ namespace System.Security.Cryptography.X509Certificates { // needs quotes ? } +#if false private string GetSeparator (X500DistinguishedNameFlags flag) { if ((flag & X500DistinguishedNameFlags.UseSemicolons) != 0) @@ -158,6 +159,7 @@ namespace System.Security.Cryptography.X509Certificates { return Environment.NewLine; return ","; //default } +#endif // decode the DN using the (byte[]) RawData private void DecodeRawData () @@ -181,9 +183,9 @@ namespace System.Security.Cryptography.X509Certificates { ASN1 dn = MX.X501.FromString (name); - int pos = 0; +/* int pos = 0; ASN1 asn1 = new ASN1 (0x30); -/* while (pos < name.Length) { + while (pos < name.Length) { MX.X520.AttributeTypeAndValue atv = ReadAttribute (name, ref pos); atv.Value = ReadValue (name, ref pos); }*/ diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs index 22438744cc9..8ec41a21e52 100644 --- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs +++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs @@ -33,7 +33,8 @@ namespace System.Security.Cryptography.X509Certificates { public class X509Chain { - private bool _machineContext; + // Set to internal to remove a warning + internal bool _machineContext; private X509ChainElementCollection _elements; private X509ChainPolicy _policy; private X509ChainStatus[] _status; |