Changeset 351 for binary-improvements/MapRendering/Web/OpenID.cs
- Timestamp:
- Jan 19, 2019, 6:12:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/OpenID.cs
r326 r351 25 25 "/steam-intermediate.cer"); 26 26 27 private static readonlybool verboseSsl = false;27 private const bool verboseSsl = false; 28 28 public static bool debugOpenId; 29 29 … … 35 35 } 36 36 37 ServicePointManager.ServerCertificateValidationCallback = ( srvPoint, certificate, chain,errors) => {38 if ( errors == SslPolicyErrors.None) {37 ServicePointManager.ServerCertificateValidationCallback = (_srvPoint, _certificate, _chain, _errors) => { 38 if (_errors == SslPolicyErrors.None) { 39 39 if (verboseSsl) { 40 40 Log.Out ("Steam certificate: No error (1)"); … … 50 50 privateChain.ChainPolicy.ExtraStore.Add (caIntermediateCert); 51 51 52 if (privateChain.Build (new X509Certificate2 ( certificate))) {52 if (privateChain.Build (new X509Certificate2 (_certificate))) { 53 53 // No errors, immediately return 54 54 privateChain.Reset ();
Note:
See TracChangeset
for help on using the changeset viewer.