mirror of https://github.com/golang/go.git
misc/ios: skip revoked certificates
Change-Id: If65e5e55b359a61740d2ef185147bb6df90e0b0c Reviewed-on: https://go-review.googlesource.com/14654 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
parent
61a3ebed55
commit
cf4527172c
|
|
@ -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])
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue