Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05086acd authored by ctso's avatar ctso Committed by Steve Kondik
Browse files

Patch for CM issue 1182, obtained from google issue 1597

parent c7328592
Loading
Loading
Loading
Loading
+24 −19
Original line number Diff line number Diff line
@@ -196,7 +196,9 @@ public class SslCertificate {
         */
        public DName(String dName) {
            if (dName != null) {
                X509Name x509Name = new X509Name(mDName = dName);
                mDName = dName;
                try {
                    X509Name x509Name = new X509Name(dName);

                    Vector val = x509Name.getValues();
                    Vector oid = x509Name.getOIDs();
@@ -217,6 +219,9 @@ public class SslCertificate {
                            continue;
                        }
                    }
                } catch (IllegalArgumentException ex) {
                    // thrown if there is an error parsing the string
                }
            }
        }