浏览代码

Bug fix: TLS/SSL client certificate could be configured for S3 protocol even though it is not supported

Source commit: e4c539f9221ecdd23f6df3438fade22ba62dcfe7
Martin Prikryl 5 年之前
父节点
当前提交
d36018ab37
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      source/forms/SiteAdvanced.cpp

+ 1 - 0
source/forms/SiteAdvanced.cpp

@@ -1043,6 +1043,7 @@ void __fastcall TSiteAdvancedDialog::UpdateControls()
     SslSheet->Enabled = Ssl;
     // TLS/SSL session reuse is not configurable for WebDAV/S3 yet
     SslSessionReuseCheck->Enabled = SslSheet->Enabled && FtpProtocol;
+    TlsAuthenticationGroup->Visible = Ssl && (FtpProtocol || WebDavProtocol);
 
     // encryption sheet
     EncryptionSheet->Enabled = SftpProtocol;