We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d9c03c commit f8f7429Copy full SHA for f8f7429
main/src/ui/java/de/blinkt/openvpn/fragments/Utils.kt
@@ -289,7 +289,7 @@ object Utils {
289
return builder
290
}
291
292
- val weakCiphers = listOf<String>("BF-CBC", "DES-CBC", "NONE")
+ val weakCiphers = listOf("BF-CBC", "DES-CBC", "NONE")
293
294
@JvmStatic
295
fun addSoftWarnings(warnings:MutableList<String>, vp:VpnProfile) {
@@ -305,7 +305,7 @@ object Utils {
305
if ("insecure".equals(vp.mTlSCertProfile))
306
warnings.add("low security (TLS security profile 'insecure' selected)");
307
308
- var cipher= vp.mCipher.toUpperCase(Locale.ROOT)
+ var cipher= vp.mCipher?.toUpperCase(Locale.ROOT)
309
if (cipher.isNullOrEmpty())
310
cipher = "BF-CBC";
311
0 commit comments