Color code the issued to Common Name in the view SSL certificate dialog. Implements...
[PrivacyBrowser.git] / app / src / main / java / com / stoutner / privacybrowser / fragments / DomainSettingsFragment.java
index 2a7685424a83033a7c4c9eba52fdea5a02c1d2c0..3889ef7fc36d394f0296704b60d5771604aa69f4 100644 (file)
@@ -1135,7 +1135,7 @@ public class DomainSettingsFragment extends Fragment {
                 // Setup a copy of `certificateCommonName` to test subdomains.
                 String certificateCommonNameSubdomain = certificateCommonName;
 
-                // Check all the subdomains in `certificateCommonNameSubdomains` against `baseDomainName`.
+                // Check all the subdomains in `certificateCommonNameSubdomain` against `baseDomainName`.
                 while (!domainNamesMatch && certificateCommonNameSubdomain.contains(".")) {  // Stop checking if we know that `domainNamesMatch` is `true` or if we run out of  `.`.
                     // Test the `certificateCommonNameSubdomain` against `baseDomainName`.
                     if (certificateCommonNameSubdomain.equals(baseDomainName)) {