[appletls] Trust SecTrustResult.Proceed as well. Fixes #58411.
commit74a87af7f580c59f524f79508e4ad32ccff0870a
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Thu, 5 Oct 2017 09:46:45 +0000 (5 11:46 +0200)
committerMarek Safar <marek.safar@gmail.com>
Thu, 5 Oct 2017 21:43:34 +0000 (5 23:43 +0200)
tree8e184c48a280fa26eb77f8d81de8d8731b392a52
parenta984f20e232d863a9d3b7848023f78816aa282e7
[appletls] Trust SecTrustResult.Proceed as well. Fixes #58411.

Apple states clearly in their documentation about SecTrustResult.Proceed [1]:

    The user explicitly chose to trust a certificate in the chain (usually by
    clicking a button in a certificate trust panel).

    Your app should trust the chain.

This fixes bug #[58411][2], where SecTrustEvaluate returns
SecTrustResult.Proceed starting with iOS 11.

[1]: https://developer.apple.com/documentation/security/1394363-sectrustevaluate
[2]: https://bugzilla.xamarin.com/show_bug.cgi?id=58411
mcs/class/System/Mono.AppleTls/AppleCertificateHelper.cs