ucb/source/ucp/webdav-neon/NeonSession.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 6dc7dab6a80a2bc4cc347d144a9b9454a731e6a7
Author: Tor Lillqvist <[email protected]>
Date:   Fri Mar 15 13:53:12 2013 +0200

    Use default set of root certificates, if available, when using SSL
    
    Part of fix for the WebDAV https server authentication problem noticed when
    fixing bnc#805901.
    
    Change-Id: Ic54c59bdadaf34cdba32949400d5da69712017f3

diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx 
b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 4c77d8e..81bb6ab 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -774,6 +774,11 @@ void NeonSession::Init()
             // Set a failure callback for certificate check
             ne_ssl_set_verify(
                 m_pHttpSession, NeonSession_CertificationNotify, this);
+
+            // Tell Neon to tell the SSL library used (OpenSSL or
+            // GnuTLS, I guess) to use a default set of root
+            // certificates.
+            ne_ssl_trust_default_ca(m_pHttpSession);
         }
 
         // Add hooks (i.e. for adding additional headers to the request)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to