mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 12:40:22 -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 Microsoft.Extensions.Options;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Bit.Core.Settings;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Bit.Core.Platform.X509ChainCustomization;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
using Bit.Core.Platform.X509ChainCustomization;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Bit.Core.Platform.X509ChainCustomization;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#nullable enable
|
||||
#nullable enable
|
||||
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Net.Security;
|
||||
@ -45,7 +45,7 @@ public sealed class X509ChainOptions
|
||||
/// </returns>
|
||||
[MemberNotNullWhen(true, nameof(AdditionalCustomTrustCertificates))]
|
||||
public bool TryGetCustomRemoteCertificateValidationCallback(
|
||||
[MaybeNullWhen(false)]out Func<X509Certificate2?, X509Chain?, SslPolicyErrors, bool> callback)
|
||||
[MaybeNullWhen(false)] out Func<X509Certificate2?, X509Chain?, SslPolicyErrors, bool> callback)
|
||||
{
|
||||
callback = null;
|
||||
if (AdditionalCustomTrustCertificates == null || AdditionalCustomTrustCertificates.Count == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user