Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2006-03-11 22:07:56 +0300
committerMiguel de Icaza <miguel@gnome.org>2006-03-11 22:07:56 +0300
commita5bd130af9800171ea504a89ffd04572502f07eb (patch)
tree560c8ddfa26084190fa201767a1ea094209e1ab2 /mcs/class/System/System.Security.Cryptography.X509Certificates
parentcc089e12034ded28129893993d9f6e0c497f6a04 (diff)
2006-03-11 Miguel de Icaza <miguel@novell.com>
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being used by us internally). Ponder: should we instead move our methods to use new versions of the Obsoleted ones? 2006-03-11 Miguel de Icaza <miguel@novell.com> * CodeNamespaceImportCollection.cs: It turns out that a lot of the errors flagged with "!" were just missing explicit interface implementations. Implement. 2006-03-11 Miguel de Icaza <miguel@novell.com> * CodeDomConfigurationHandler.cs: Comment out unused methods. * TempFileCollection.cs: Implement explicitly some interface methods to get rid of the "!" errors on CorCompare. 2006-03-11 Miguel de Icaza <miguel@novell.com> * Queue.cs: Flag as serializable. * LinkedList.cs (OnDeserialization): Fix signature. * SortedList.cs: Implement explicitly a few methods that were flagged by corcompare. 2006-03-11 Miguel de Icaza <miguel@novell.com> * IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to avoid warning. 2006-03-11 Miguel de Icaza <miguel@novell.com> * ConfigurationSettings.cs (ChangeConfigurationSettings): Make internal to avoid warnings. This routine is called from System.Web with MethodInfo.Invoke. 2006-03-11 Miguel de Icaza <miguel@novell.com> * DeflateStream.cs: Comment out DllImport that was not being used. 2006-03-11 Miguel de Icaza <miguel@novell.com> * y * SerialPort.cs: Remove unused variable (writeBuffer). * SerialPortStream.cs (Dispose): override, not new. 2006-03-11 Miguel de Icaza <miguel@novell.com> * WebClient.cs: Only expose the right methods to avoid warnings. * FtpDataStream.cs (Dispose): Fix signature. * FtpWebResponse.cs: Comment out keepAlive field (unused, sounds like we are missing features here). * IPAddress.cs: Move m_HashCode property to the end, and set pragmas to disable warnings. 2006-03-11 Miguel de Icaza <miguel@novell.com> * MailAddress.cs: Comment out unused field to remove warning. 2006-03-11 Miguel de Icaza <miguel@novell.com> * NetworkChange.cs: Use pragmas to eliminate warnings from events that we do not trigger yet. This is a candidate for using Aaron's NetworkManager code. But would make us depend on d-bus. * NetworkInformationException.cs: Use error_code for ErrorCode, instead of NativeErrorCode. Fixes warning. 2006-03-11 Miguel de Icaza <miguel@novell.com> * AuthenticatedStream.cs: Fixed normative parameter names (yes, we need to do this everywhere one day). (Close): actually obey the "leaveInnerStreamOpen" setting from the constructor. 2006-03-11 Miguel de Icaza <miguel@novell.com> * NetworkStream.cs (Dispose): Use the right signature depending on the profile being built. 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 svn path=/trunk/mcs/; revision=57836
Diffstat (limited to 'mcs/class/System/System.Security.Cryptography.X509Certificates')
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog7
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/X500DistinguishedName.cs6
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs3
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;