summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-03-12 14:53:44 +0100
committerArne Schwabe <arne@rfc2549.org>2013-03-12 14:53:44 +0100
commit9a512ba885419d934a631dcb56bdb11d29dd8705 (patch)
treec1c643edab02c05fb5d88d10cc0a39f8f9697a47
parentef4438a0ede0394736f8abdbcf4fa24b712ec7eb (diff)
Note stupid mistake
-rw-r--r--src/de/blinkt/openvpn/VpnProfile.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java
index 2c917ba0..67a2a142 100644
--- a/src/de/blinkt/openvpn/VpnProfile.java
+++ b/src/de/blinkt/openvpn/VpnProfile.java
@@ -48,6 +48,10 @@ import de.blinkt.openvpn.core.OpenVpnService;
public class VpnProfile implements Serializable{
// Note that this class cannot be moved to core where it belongs since
// the profile loading depends on it being here
+ // The Serializable documentation mentions that class name change are possible
+ // but the how is unclear
+ //
+
private static final long serialVersionUID = 7085688938959334563L;
public static final int TYPE_CERTIFICATES=0;
public static final int TYPE_PKCS12=1;
@@ -74,7 +78,11 @@ public class VpnProfile implements Serializable{
public transient String mTransientPW=null;
public transient String mTransientPCKS12PW=null;
private transient PrivateKey mPrivateKey;
- public boolean profileDleted=false;
+
+ // variable named wrong and should haven beeen transient
+ // but needs to keep wrong name to guarante loading of old
+ // profiles
+ public transient boolean profileDleted=false;
public static String DEFAULT_DNS1="131.234.137.23";