diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-06-17 17:48:52 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-06-17 17:48:52 +0200 |
commit | 39197a456562402ad42c5d78deafbbcefa024582 (patch) | |
tree | 3649b57711229c91e4f028bd6b42b9567d6ea255 /src/de/blinkt/openvpn/OpenVPN.java | |
parent | 5cd8e4b40aab5512c7e9c1d606b841df39ae8c81 (diff) |
- Fix last commit
- Implement reading extra CA cert from file to fix keystore error on some mobile phones
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVPN.java')
-rw-r--r-- | src/de/blinkt/openvpn/OpenVPN.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/OpenVPN.java b/src/de/blinkt/openvpn/OpenVPN.java index 39533db3..b09eb60e 100644 --- a/src/de/blinkt/openvpn/OpenVPN.java +++ b/src/de/blinkt/openvpn/OpenVPN.java @@ -35,6 +35,12 @@ public class OpenVPN { mMessage = message; } + public LogItem(int loglevel, String msg) { + mLevel = loglevel; + mMessage = msg; + } + + String getString(Context c) { if(mMessage !=null) { return mMessage; @@ -144,6 +150,11 @@ public class OpenVPN { } } + public static void logError(String msg) { + newlogItem(new LogItem(LogItem.ERROR, msg)); + + } + } |