Skip to content

Commit 31795cb

Browse files
authored
Make MailService::GetSslClientAuthenticationOptions protected virtual (#1931)
1 parent d2c0d08 commit 31795cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MailKit/MailService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ protected static bool DefaultServerCertificateValidationCallback (object sender,
576576
/// <param name="host">The target host that the client is connected to.</param>
577577
/// <param name="remoteCertificateValidationCallback">The remote certificate validation callback.</param>
578578
/// <returns>The client SSL/TLS authentication options.</returns>
579-
protected SslClientAuthenticationOptions GetSslClientAuthenticationOptions (string host, RemoteCertificateValidationCallback remoteCertificateValidationCallback)
579+
protected virtual SslClientAuthenticationOptions GetSslClientAuthenticationOptions (string host, RemoteCertificateValidationCallback remoteCertificateValidationCallback)
580580
{
581581
return new SslClientAuthenticationOptions {
582582
CertificateRevocationCheckMode = CheckCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck,

0 commit comments

Comments
 (0)