summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {