mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Fix the ability to accept invalid SSL certificates for exchange support.
This commit is contained in:
parent
203f9fbaf4
commit
9e5435a5f3
@ -32,6 +32,7 @@ import org.xml.sax.SAXException;
|
||||
import org.xml.sax.XMLReader;
|
||||
import org.xml.sax.helpers.DefaultHandler;
|
||||
|
||||
import javax.net.ssl.SSLException;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
import javax.xml.parsers.SAXParser;
|
||||
import javax.xml.parsers.SAXParserFactory;
|
||||
@ -674,6 +675,10 @@ public class WebDavStore extends Store
|
||||
response.getStatusLine().toString());
|
||||
}
|
||||
}
|
||||
catch (SSLException e)
|
||||
{
|
||||
throw new CertificateValidationException(e.getMessage(), e);
|
||||
}
|
||||
catch (IOException ioe)
|
||||
{
|
||||
Log.e(K9.LOG_TAG, "IOException: " + ioe + "\nTrace: " + processException(ioe));
|
||||
|
Loading…
Reference in New Issue
Block a user