summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2023-04-19 13:22:04 +0200
committerArne Schwabe <arne@rfc2549.org>2023-04-19 13:22:04 +0200
commit0aa5df0b6e7c61a631bfee6513eb97512aac075f (patch)
tree31790799b71d9c2c0b48fa378403e016205f6828
parent8cb30f32e8f8bad8de720513dc0fe986abec90b5 (diff)
Version 0.7.44
-rw-r--r--main/build.gradle.kts2
-rw-r--r--main/src/main/java/de/blinkt/openvpn/api/AppRestrictions.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/main/build.gradle.kts b/main/build.gradle.kts
index 9dd87d50..2ef28714 100644
--- a/main/build.gradle.kts
+++ b/main/build.gradle.kts
@@ -27,6 +27,8 @@ android {
targetSdk = 33
versionCode = 198
versionName = "0.7.43"
+ versionCode = 199
+ versionName = "0.7.44"
externalNativeBuild {
cmake {
}
diff --git a/main/src/main/java/de/blinkt/openvpn/api/AppRestrictions.java b/main/src/main/java/de/blinkt/openvpn/api/AppRestrictions.java
index 573dd070..6815f234 100644
--- a/main/src/main/java/de/blinkt/openvpn/api/AppRestrictions.java
+++ b/main/src/main/java/de/blinkt/openvpn/api/AppRestrictions.java
@@ -65,7 +65,7 @@ public class AppRestrictions {
MessageDigest digest;
try {
digest = MessageDigest.getInstance("SHA1");
- byte utf8_bytes[] = config.getBytes();
+ byte[] utf8_bytes = config.getBytes();
digest.update(utf8_bytes, 0, utf8_bytes.length);
return new BigInteger(1, digest.digest()).toString(16);
} catch (NoSuchAlgorithmException e) {