[OSX] Reset errors to 0 if the OS tells us that (1) the chain is ok, (2) the certific...
authorSebastien Pouliot <sebastien@xamarin.com>
Fri, 14 Sep 2012 00:48:42 +0000 (20:48 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Fri, 14 Sep 2012 00:48:42 +0000 (20:48 -0400)
commit6fc934ea50f7744c2310c1daf4e3038e087e8837
tree49ef558a4d8698a1ddce73291436a39583ad7a5e
parent1249082309ffbff6cec2708c43336750b038f9b6
[OSX] Reset errors to 0 if the OS tells us that (1) the chain is ok, (2) the certificate usage is for SSL server and (3) the server identity is confirmed (2+3 were part of an earlier fix). Without this reset we depended on the mono certificate store as an extra condition (which would requires mozroots to be executed and we want to avoid this 'duplicated' requirement and trust OSX). This does not affect iOS where no mono stores exists.
mcs/class/System/System.Net/ServicePointManager.cs