1 --- libcmis/src/libcmis/session-factory.cxx.orig 2024-06-19 18:43:56.244832053 +0200
2 +++ libcmis/src/libcmis/session-factory.cxx 2024-06-20 11:46:26.518263605 +0200
5 response = httpSession->httpGetRequest( bindingUrl );
7 - catch ( const CurlException& )
8 + catch (const CurlException& e)
10 + if (strcmp(e.what(), "Invalid SSL certificate") == 0)
12 + // no point in trying other protocols
13 + throw e.getCmisException();
15 // Could be SharePoint - needs NTLM authentication
16 session = new SharePointSession( bindingUrl, username,