summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/ConfigHelper.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-03-19 17:39:53 +0100
committerParménides GV <parmegv@sdf.org>2013-03-19 17:39:53 +0100
commitb48c3f63bfbdb0c01950cbd47c41a560afaf4fe2 (patch)
treeed62293c27ab871fe029f1b58ea5f64726e7c699 /src/se/leap/leapclient/ConfigHelper.java
parent0e67b3335dac82e41400a2161df43419fe2a736b (diff)
The new certificate added by ConfigHelper.addTrustedCertificate did not
used the provider alias, but a predefined (I forgot removing quotes from argument) string.
Diffstat (limited to 'src/se/leap/leapclient/ConfigHelper.java')
-rw-r--r--src/se/leap/leapclient/ConfigHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/ConfigHelper.java b/src/se/leap/leapclient/ConfigHelper.java
index 5d89e491..35aec885 100644
--- a/src/se/leap/leapclient/ConfigHelper.java
+++ b/src/se/leap/leapclient/ConfigHelper.java
@@ -104,7 +104,7 @@ public class ConfigHelper {
cf = CertificateFactory.getInstance("X.509");
X509Certificate cert =
(X509Certificate)cf.generateCertificate(inputStream);
- keystore_trusted.setCertificateEntry("provider", cert);
+ keystore_trusted.setCertificateEntry(provider, cert);
} catch (CertificateException e) {
// TODO Auto-generated catch block
e.printStackTrace();