mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 01:41:18 -10:00
[M4A] Do not reset 'errors' and 'status11' when a certificate is trusted. Fix last part of #5706
This commit is contained in:
1 parent
3a274aac77
commit
ad89f72f5b
1 file changed
-4
@@ -510,10 +510,6 @@ namespace System.Net
|
||||
|
||||
#if MONODROID
|
||||
result = AndroidPlatform.TrustEvaluateSsl (certs, sender, leaf, chain, errors);
|
||||
if (result) {
|
||||
status11 = 0;
|
||||
errors = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (policy != null && (!(policy is DefaultCertificatePolicy) || cb == null)) {
|
||||
|
||||
Reference in new issue
Block a user