aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt
index 3db8dce..f22e1e1 100644
--- a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt
+++ b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt
@@ -76,7 +76,7 @@ class TincVpnService : VpnService() {
76 } catch (e: FileNotFoundException) { 76 } catch (e: FileNotFoundException) {
77 Pair(null, null) 77 Pair(null, null)
78 } catch (e: PEMException) { 78 } catch (e: PEMException) {
79 return reportError(resources.getString(R.string.message_could_not_decrypt_private_keys_format, e.message!!)) 79 return reportError(resources.getString(R.string.message_could_not_decrypt_private_keys_format, e.message))
80 } 80 }
81 81
82 Tincd.start(netName, deviceFd!!.fd, privateKeys.first?.fd, privateKeys.second?.fd) 82 Tincd.start(netName, deviceFd!!.fd, privateKeys.first?.fd, privateKeys.second?.fd)