summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-06-29 13:18:40 +0200
committerSean Leonard <meanderingcode@aetherislands.net>2013-07-12 11:45:46 -0600
commit7aabefb6df93fd96a354efbbf42a2138e171b763 (patch)
tree5536d5f7c4ad257e9112e6a846d3c35bfd9a8ec7 /src
parent51a1059ed87afb40b639685901f822f6c90e1255 (diff)
Back to IOException instead of SSL exception.
The previous commit broke functionality, and instead of discarding it I've decided to undo with a new commit for future references. It would seem that IOException can be substitued by SSLHandshakeException, but the previous commit proves it cannot.
Diffstat (limited to 'src')
-rw-r--r--src/se/leap/leapclient/ProviderAPI.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/ProviderAPI.java b/src/se/leap/leapclient/ProviderAPI.java
index ce9e974d..1bc11495 100644
--- a/src/se/leap/leapclient/ProviderAPI.java
+++ b/src/se/leap/leapclient/ProviderAPI.java
@@ -26,7 +26,6 @@ import java.util.Scanner;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
-import javax.net.ssl.SSLHandshakeException;
import javax.net.ssl.SSLSession;
import javax.net.ssl.TrustManagerFactory;
import javax.net.ssl.TrustManager;