Commit cf452717 authored by David Crawshaw's avatar David Crawshaw

misc/ios: skip revoked certificates

Change-Id: If65e5e55b359a61740d2ef185147bb6df90e0b0c
Reviewed-on: https://go-review.googlesource.com/14654Reviewed-by: 's avatarHyang-Ah Hana Kim <hyangah@gmail.com>
parent 61a3ebed
......@@ -55,6 +55,9 @@ func detectDevID() string {
if !bytes.Contains(line, []byte("iPhone Developer")) {
continue
}
if bytes.Contains(line, []byte("REVOKED")) {
continue
}
fields := bytes.Fields(line)
return string(fields[1])
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment