summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-06-29 13:04:45 +0200
committerSean Leonard <meanderingcode@aetherislands.net>2013-07-12 11:45:46 -0600
commit51a1059ed87afb40b639685901f822f6c90e1255 (patch)
treeeddd6b4c53962f3cdd1ea97e63a4425784a90afc
parent713078d3348017dd8c229ee52701c2c1b69bd85d (diff)
Substituted IOException by SSLHandshakeException.
In getStringFromProvider, there is no IOException but an SSLHandshakeException. Substituing this gives our code more semantics.
-rw-r--r--src/se/leap/leapclient/ProviderAPI.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/se/leap/leapclient/ProviderAPI.java b/src/se/leap/leapclient/ProviderAPI.java
index 1bc1149..ce9e974 100644
--- a/src/se/leap/leapclient/ProviderAPI.java
+++ b/src/se/leap/leapclient/ProviderAPI.java
@@ -26,6 +26,7 @@ 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;