gui: show the certificate if the certificate file name is not standard (#315)

* show the certificate if the certificate file name is not standard
eg https://play.google.com/store/apps/details?id=com.kms.free
This commit is contained in:
asviridenko
2018-07-22 00:43:59 +03:00
committed by skylot
parent a959af087b
commit edc1e5fa84
@@ -83,8 +83,8 @@ public class JRoot extends JNode {
for (ResourceFile rf : resources) {
if (rf.getZipRef() != null) {
String rfName = rf.getName();
if (rfName.contains("/CERT.DSA")||rfName.contains("/CERT.RSA")) {
String rfName = rf.getName().toUpperCase();
if (rfName.endsWith(".DSA")||rfName.endsWith(".RSA")) {
return new JCertificate(rf);
}