Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <mabaul@microsoft.com>2018-08-31 18:12:16 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2018-08-31 18:12:16 +0300
commit8ac5b8e5441f8f2b26b56161a4962c997872a9d2 (patch)
treeab7af92a91a58b303673400f22f13a7fd2e62030 /mcs/class/System.Reactive.Core
parent0d7f5778ec9c6f33b94a182f27e22059909af31b (diff)
[System]: Fix `MonoBtlsProvider.CheckValidationResult ()` logic. (#10396)
See my comments in https://github.com/mono/mono/pull/10134 for details. The problem was that 1. It is wrong to assume that `chain != null`. In fact, it likely won't be if `wantsChain == false`. 2. Similarly, the `storeCtx` should only be used if `storeCtx != NULL && wantsChain == true`. 3. It was missing `MonoBtlsX509Error.HOSTNAME_MISMATCH`. 4. I reformatted and re-indented the method to match Mono's style.
Diffstat (limited to 'mcs/class/System.Reactive.Core')
0 files changed, 0 insertions, 0 deletions