Skip to content

Commit

Permalink
fixes a bug of missing find match
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Mar 3, 2017
1 parent eb33993 commit e849d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StaticAnalyzer/views/android/cert_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def cert_info(app_dir, tools_dir):
issued = 'missing'
if re.findall(r"Issuer: CN=Android Debug|Subject: CN=Android Debug", dat):
issued = 'bad'
if re.findall(r"\[SHA1withRSA\]"):
if re.findall(r"\[SHA1withRSA\]", dat):
issued = 'bad hash'
cert_dic = {
'cert_info': dat,
Expand Down

0 comments on commit e849d23

Please sign in to comment.