diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2004-05-07 03:16:03 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2004-05-07 03:16:03 +0400 |
commit | 1dc0861ecfca80b469e2988c8ced00dd74a307f1 (patch) | |
tree | 35884c9ba0a3d02bf70c6b63df27370dc5e3894b /mcs/class/Mono.Security | |
parent | 2db3c39529859ae4e71c6dee6e7a0efabb70b38d (diff) |
2004-05-06 Jesper Pedersen <jep@itplus.dk>
* PKCS12.cs: Fixed synchronization with X509CertificateCollection in
GetBytes ().
svn path=/trunk/mcs/; revision=26867
Diffstat (limited to 'mcs/class/Mono.Security')
-rw-r--r-- | mcs/class/Mono.Security/Mono.Security.X509/ChangeLog | 5 | ||||
-rwxr-xr-x | mcs/class/Mono.Security/Mono.Security.X509/PKCS12.cs | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/mcs/class/Mono.Security/Mono.Security.X509/ChangeLog b/mcs/class/Mono.Security/Mono.Security.X509/ChangeLog index 424d60a2c0c..93ece5c105d 100644 --- a/mcs/class/Mono.Security/Mono.Security.X509/ChangeLog +++ b/mcs/class/Mono.Security/Mono.Security.X509/ChangeLog @@ -1,3 +1,8 @@ +2004-05-06 Jesper Pedersen <jep@itplus.dk> + + * PKCS12.cs: Fixed synchronization with X509CertificateCollection in + GetBytes (). + 2004-05-05 Jesper Pedersen <jep@itplus.dk> * PKCS12.cs: Added support for SafeBag attributes. Added support for diff --git a/mcs/class/Mono.Security/Mono.Security.X509/PKCS12.cs b/mcs/class/Mono.Security/Mono.Security.X509/PKCS12.cs index f88d844ea67..03e01122d8c 100755 --- a/mcs/class/Mono.Security/Mono.Security.X509/PKCS12.cs +++ b/mcs/class/Mono.Security/Mono.Security.X509/PKCS12.cs @@ -974,7 +974,7 @@ namespace Mono.Security.X509 { ArrayList addcerts = new ArrayList (); ArrayList removecerts = new ArrayList (); - foreach (X509Certificate c in _certs) { + foreach (X509Certificate c in Certificates) { bool found = false; foreach (X509Certificate lc in scs) { @@ -990,7 +990,7 @@ namespace Mono.Security.X509 { foreach (X509Certificate c in scs) { bool found = false; - foreach (X509Certificate lc in _certs) { + foreach (X509Certificate lc in Certificates) { if (Compare (c.RawData, lc.RawData)) { found = true; } |