Skip to content

Commit

Permalink
add nullable context for servercertificatecallback for net6 or greater
Browse files Browse the repository at this point in the history
  • Loading branch information
KircMax committed Dec 2, 2023
1 parent 6c195e0 commit 7287d02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Webserver.API/Services/ServerCertificateCallback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ public class ServerCertificateCallback
/// <summary>
/// Gets or sets custom server certificate callback.
/// </summary>
#nullable enable
public static Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, bool>? CertificateCallback
{
get;
set;
}
#nullable disable
}
}
#endif

0 comments on commit 7287d02

Please sign in to comment.