Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenneth.skovhede@gmail.com <kenneth.skovhede@gmail.com@59da171f-624f-0410-aa54-27559c288bec>2011-09-24 11:15:39 +0400
committerkenneth.skovhede@gmail.com <kenneth.skovhede@gmail.com@59da171f-624f-0410-aa54-27559c288bec>2011-09-24 11:15:39 +0400
commit75af911fe0e0f9cf91d790e4cd447ade9b732db1 (patch)
treed1edab9adac53d4e0fc43c593667bcea3cf688c6 /Duplicati/Library/Backend/WEBDAV
parenta9c78a0fbd263ca712c62182f772036f0538e8a2 (diff)
Fixed applying the ACCEPT_SPECIFIC_CERTIFICATE option
git-svn-id: https://duplicati.googlecode.com/svn/trunk@908 59da171f-624f-0410-aa54-27559c288bec
Diffstat (limited to 'Duplicati/Library/Backend/WEBDAV')
-rw-r--r--Duplicati/Library/Backend/WEBDAV/WebDAVUI.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Duplicati/Library/Backend/WEBDAV/WebDAVUI.cs b/Duplicati/Library/Backend/WEBDAV/WebDAVUI.cs
index 1b07c0f32..6258e3ff1 100644
--- a/Duplicati/Library/Backend/WEBDAV/WebDAVUI.cs
+++ b/Duplicati/Library/Backend/WEBDAV/WebDAVUI.cs
@@ -318,7 +318,8 @@ namespace Duplicati.Library.Backend
m_options[USE_SSL] = UseSSL.Checked.ToString();
m_options[ACCEPT_ANY_CERTIFICATE] = AcceptAnyHash.Checked.ToString();
- m_options[ACCEPT_SPECIFIC_CERTIFICATE] = AcceptSpecifiedHash.Checked ? SpecifiedHash.Text : "";
+ if (AcceptSpecifiedHash.Checked)
+ m_options[ACCEPT_SPECIFIC_CERTIFICATE] = SpecifiedHash.Text;
if (hasInitial)
m_options[INITIALPASSWORD] = initialPwd;