diff options
Diffstat (limited to 'main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java b/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java index 04848f93..c8e69414 100644 --- a/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java +++ b/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java @@ -474,10 +474,13 @@ public class VpnStatus { } - public static void checkWeakMD(String msg) { + public static void addExtraHints(String msg) { if ((msg.endsWith("md too weak") && msg.startsWith("OpenSSL: error")) || msg.contains("error:140AB18E") || msg.contains("SSL_CA_MD_TOO_WEAK") || (msg.contains("ca md too weak"))) logError("OpenSSL reported a certificate with a weak hash, please see the in app FAQ about weak hashes."); + if ((msg.contains("digital envelope routines::unsupported"))) + logError("The encryption method of your private keys/pkcs12 might be outdated and you probably need to enable " + + "the OpenSSL legacy provider to be able to use this profile."); } public static synchronized void updateByteCount(long in, long out) { |