You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2022/01/07 09:09:20 UTC

[openoffice] 03/04: Recognize SSL certificate validation errors

This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch serf
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 9f6b710f22856c3fc884a30f5c0524f2668a2157
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Fri Jan 7 09:54:44 2022 +0100

    Recognize SSL certificate validation errors
---
 main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx b/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx
index 8806e32..423dd51 100644
--- a/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx
+++ b/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx
@@ -551,6 +551,11 @@ void SerfRequestProcessor::postprocessProcessor( const apr_status_t inStatus )
         }
         break;
 
+    case SERF_SSL_CERT_UNKNOWN_FAILURE:
+        mpDAVException = new DAVException(DAVException::DAV_HTTP_ERROR,
+                                          rtl::OUString::createFromAscii("SSL certificate failure"));
+        break;
+
     default:
         {
             // APR can help us describe this error