summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/fragments/Utils.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/Utils.java b/main/src/main/java/de/blinkt/openvpn/fragments/Utils.java
index 243eae98..af76ee7a 100644
--- a/main/src/main/java/de/blinkt/openvpn/fragments/Utils.java
+++ b/main/src/main/java/de/blinkt/openvpn/fragments/Utils.java
@@ -49,10 +49,12 @@ public class Utils {
supportedMimeTypes.add("application/x-x509-ca-cert");
supportedMimeTypes.add("application/x-x509-user-cert");
supportedMimeTypes.add("application/x-pem-file");
+ supportedMimeTypes.add("application/pkix-cert");
supportedMimeTypes.add("text/plain");
extensions.add("pem");
extensions.add("crt");
+ extensions.add("cer");
break;
case KEYFILE:
i.setType("application/x-pem-file");
@@ -86,6 +88,10 @@ public class Utils {
extensions.add("conf");
break;
+ case CRL_FILE:
+ supportedMimeTypes.add("application/x-pkcs7-crl");
+ supportedMimeTypes.add("application/pkix-crl");
+
case USERPW_FILE:
i.setType("text/plain");
supportedMimeTypes.add("text/plain");