Continue X509Chain processing even if the local machine directory does not exists
authorSebastien Pouliot <sebastien@ximian.com>
Fri, 11 Feb 2011 18:10:21 +0000 (13:10 -0500)
committerSebastien Pouliot <sebastien@ximian.com>
Fri, 11 Feb 2011 18:10:21 +0000 (13:10 -0500)
commit5505faf960fd4feee7072501eb476d430791ee5f
tree281cf5c726b720173ce471532072c31324f21c19
parent44cb0e4defb0851c60172e977c5be125ea5d9901
Continue X509Chain processing even if the local machine directory does not exists

* corlib/Mono.Security.X509/X509Store.cs:
* Mono.Security/Mono.Security.X509/X509Store.cs:
Fix key pair persistence to load key pairs from the same location
(machine or user) as the requested certificate. This avoids an
internal exception (on missing local machine directory) that stop
the evaluation of the certificate validity (i.e. no user store
check)
* System/System.Security.Cryptography.X509Certificates/X509Chain.cs:
Ensure that a missing local machine directory does not result in a NRE
while loading CRL (which would fail the certificate being validated)
mcs/class/Mono.Security/Mono.Security.X509/X509Store.cs
mcs/class/System/System.Security.Cryptography.X509Certificates/X509Chain.cs
mcs/class/corlib/Mono.Security.X509/X509Store.cs