diff options
author | Andreas N <andreas@mono-cvs.ximian.com> | 2008-07-03 01:44:54 +0400 |
---|---|---|
committer | Andreas N <andreas@mono-cvs.ximian.com> | 2008-07-03 01:44:54 +0400 |
commit | fdb339703d2184f0ee1f86c19a1c3f75361d74c4 (patch) | |
tree | 7f4a1f4af85632c84acb5dccbc66ce5f43187aca | |
parent | 22240ad0a03718d7487c10e98a47ad9fdbd1c181 (diff) |
2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* X509Certificate.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107104
-rw-r--r-- | mcs/class/corlib/System.Security.Cryptography.X509Certificates/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509Certificate.cs | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/mcs/class/corlib/System.Security.Cryptography.X509Certificates/ChangeLog b/mcs/class/corlib/System.Security.Cryptography.X509Certificates/ChangeLog index 1188cd30522..d5a07f9e48d 100644 --- a/mcs/class/corlib/System.Security.Cryptography.X509Certificates/ChangeLog +++ b/mcs/class/corlib/System.Security.Cryptography.X509Certificates/ChangeLog @@ -1,3 +1,7 @@ +2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com> + + * X509Certificate.cs: Fix parameter names + 2008-01-12 Sebastien Pouliot <sebastien@ximian.com> * X509Certificate.cs: Don't wrap our own COMException inside another diff --git a/mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509Certificate.cs b/mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509Certificate.cs index ed01afa0af7..b1d69a38f03 100644 --- a/mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509Certificate.cs +++ b/mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509Certificate.cs @@ -201,12 +201,12 @@ namespace System.Security.Cryptography.X509Certificates { // public methods - public virtual bool Equals (System.Security.Cryptography.X509Certificates.X509Certificate cert) + public virtual bool Equals (System.Security.Cryptography.X509Certificates.X509Certificate other) { - if (cert == null) { + if (other == null) { return false; } else { - if (cert.x509 == null) { + if (other.x509 == null) { #if NET_2_0 if (x509 == null) return true; @@ -216,7 +216,7 @@ namespace System.Security.Cryptography.X509Certificates { #endif } - byte[] raw = cert.x509.RawData; + byte[] raw = other.x509.RawData; if (raw != null) { if (x509 == null) return false; @@ -433,9 +433,9 @@ namespace System.Security.Cryptography.X509Certificates { return base.ToString (); } - public virtual string ToString (bool details) + public virtual string ToString (bool fVerbose) { - if (!details || (x509 == null)) + if (!fVerbose || (x509 == null)) return base.ToString (); string nl = Environment.NewLine; |