mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
Format from root
This commit is contained in:
parent
32567f0fec
commit
c34c31aaa1
@ -1,10 +1,10 @@
|
|||||||
#nullable enable
|
#nullable enable
|
||||||
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using Microsoft.Extensions.Options;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using Microsoft.Extensions.Hosting;
|
|
||||||
using Bit.Core.Settings;
|
using Bit.Core.Settings;
|
||||||
|
using Microsoft.Extensions.Hosting;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
using Microsoft.Extensions.Options;
|
||||||
|
|
||||||
namespace Bit.Core.Platform.X509ChainCustomization;
|
namespace Bit.Core.Platform.X509ChainCustomization;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using Bit.Core.Platform.X509ChainCustomization;
|
using Bit.Core.Platform.X509ChainCustomization;
|
||||||
using Microsoft.Extensions.Options;
|
|
||||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||||
|
using Microsoft.Extensions.Options;
|
||||||
|
|
||||||
namespace Microsoft.Extensions.DependencyInjection;
|
namespace Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#nullable enable
|
#nullable enable
|
||||||
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Net.Security;
|
using System.Net.Security;
|
||||||
@ -45,7 +45,7 @@ public sealed class X509ChainOptions
|
|||||||
/// </returns>
|
/// </returns>
|
||||||
[MemberNotNullWhen(true, nameof(AdditionalCustomTrustCertificates))]
|
[MemberNotNullWhen(true, nameof(AdditionalCustomTrustCertificates))]
|
||||||
public bool TryGetCustomRemoteCertificateValidationCallback(
|
public bool TryGetCustomRemoteCertificateValidationCallback(
|
||||||
[MaybeNullWhen(false)]out Func<X509Certificate2?, X509Chain?, SslPolicyErrors, bool> callback)
|
[MaybeNullWhen(false)] out Func<X509Certificate2?, X509Chain?, SslPolicyErrors, bool> callback)
|
||||||
{
|
{
|
||||||
callback = null;
|
callback = null;
|
||||||
if (AdditionalCustomTrustCertificates == null || AdditionalCustomTrustCertificates.Count == 0)
|
if (AdditionalCustomTrustCertificates == null || AdditionalCustomTrustCertificates.Count == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user