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

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


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 3b9e6fb21a Update CurlSession.cxx (#223)
3b9e6fb21a is described below

commit 3b9e6fb21a79127d4de6904da8ea051a4e081dae
Author: linsong8208 <linsong8...@gmail.com>
AuthorDate: Sun Aug 18 18:56:28 2024 +0800

    Update CurlSession.cxx (#223)
    
    * Update CurlSession.cxx
    
    * Update CurlSession.cxx
    
    ---------
    
    Co-authored-by: Matthias Seidel <msei...@apache.org>
    (cherry picked from commit 5e3c51cf0098474b79fe7ebe64ce5ea04c287d38)
---
 main/ucb/source/ucp/webdav/CurlSession.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/ucb/source/ucp/webdav/CurlSession.cxx 
b/main/ucb/source/ucp/webdav/CurlSession.cxx
index 55c654ffc2..43e070b6c9 100644
--- a/main/ucb/source/ucp/webdav/CurlSession.cxx
+++ b/main/ucb/source/ucp/webdav/CurlSession.cxx
@@ -110,7 +110,7 @@ CurlSession::CurlSession(
     curl_easy_setopt( m_pCurl, CURLOPT_SSL_CTX_FUNCTION, 
Curl_SSLContextCallback );
     curl_easy_setopt( m_pCurl, CURLOPT_SSL_CTX_DATA, this );
 
-    // If a certificate's commmon name / alt name doesn't match the hostname 
we are
+    // If a certificate's common name / alt name doesn't match the hostname we 
are
     // connecting to, Curl will refuse to connect. Disable this, as we do that 
check
     // ourselves, and give the user the option of connecting anyway.
     //
@@ -567,7 +567,7 @@ int CurlSession::verifyCertificateChain (
         else
         {
             // For all other we have to ask the user.
-            m_aLogger.log( LogLevel::FINE, "Promping user to validate the 
certificate" );
+            m_aLogger.log( LogLevel::FINE, "Prompting user to validate the 
certificate" );
         }
     }
 

Reply via email to