Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
macOS: Implemented support for adding, editing and deleting a CalDAV account
[xestiacalendar/.git] / source / objects / CalDAV / CalDAV.cpp
index 48fdb74..3da1e6d 100644 (file)
@@ -201,6 +201,13 @@ CalDAVServerResult CalDAV::Connect(bool doAuthentication){
        switch(serverResult.code){
                case CURLE_OK:
                        authPassed = true;
+            if (connectionData.useSSL)
+            {
+                sslStatus = connectionData.useSSL;
+                sslVerified = COSSL_VERIFIED;
+            }
+            serverResult.result = CALDAVQUERYRESULT_OK;
+            break;
                case CURLE_HTTP_RETURNED_ERROR:
                        if (connectionData.useSSL)
                        {
@@ -215,6 +222,7 @@ CalDAVServerResult CalDAV::Connect(bool doAuthentication){
                        break;
                case CURLE_SSL_CACERT:
                case CURLE_SSL_CONNECT_ERROR:
+        case CURLE_PEER_FAILED_VERIFICATION:
                        if (connectionData.useSSL)
                        {
                                sslStatus = connectionData.useSSL;
@@ -1890,4 +1898,4 @@ void CalDAV::ResetResults(){
                headerList = nullptr;
        }*/
        
-}
\ No newline at end of file
+}
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy