summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-03-14 20:49:20 +0200
committerTor Lillqvist <tlillqvist@suse.com>2013-03-14 20:57:11 +0200
commit78716219df74f4eee573c9ae98ea7d05d15d0e5e (patch)
tree83e010a38eacf51c98e7d947b8b88bc472ef7b4b /ucb/source
parent823980eafc14607876b525cf62b0c4b2778ff6d6 (diff)
Call ne_ssl_trust_default_ca()
Part of fix for bnc#805901. Change-Id: I5d330a808ce9a4285d1d7c92bc3df91b993a3c7e
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav/NeonSession.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav/NeonSession.cxx b/ucb/source/ucp/webdav/NeonSession.cxx
index d35a4dfc0893..b21dab928b6c 100644
--- a/ucb/source/ucp/webdav/NeonSession.cxx
+++ b/ucb/source/ucp/webdav/NeonSession.cxx
@@ -782,6 +782,8 @@ void NeonSession::Init()
// Set a failure callback for certificate check
ne_ssl_set_verify(
m_pHttpSession, NeonSession_CertificationNotify, this);
+
+ ne_ssl_trust_default_ca(m_pHttpSession);
}
// Add hooks (i.e. for adding additional headers to the request)