summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-04-13 14:39:48 +0200
committercyBerta <cyberta@riseup.net>2023-04-13 16:47:13 +0200
commita51dbb9a0bb51441786cf5763d5f0d014e803b69 (patch)
tree3c5e3f1dd854c1156a0c356afa5b92def124e07e /app/src/main/java/se/leap
parentbb2fff07c050e24b2291ca13575f1b1cfa6085c1 (diff)
adding tests
Diffstat (limited to 'app/src/main/java/se/leap')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/models/Transport.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/models/Transport.java b/app/src/main/java/se/leap/bitmaskclient/base/models/Transport.java
index 7d9b61a7..33fbbf7a 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/models/Transport.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/models/Transport.java
@@ -89,13 +89,19 @@ public class Transport implements Serializable {
}
public Options(String iatMode, Endpoint[] endpoints, int portSeed, int portCount, boolean experimental) {
+ this(iatMode, endpoints, null, portSeed, portCount, experimental);
+ }
+
+ public Options(String iatMode, Endpoint[] endpoints, String cert, int portSeed, int portCount, boolean experimental) {
this.iatMode = iatMode;
this.endpoints = endpoints;
this.portSeed = portSeed;
this.portCount = portCount;
this.experimental = experimental;
+ this.cert = cert;
}
+
@Nullable
public String getCert() {
return cert;