]> Cypherpunks repositories - gostls13.git/commit
x509: add root certs for android.
authorTom Linford <tomlinford@gmail.com>
Mon, 29 Sep 2014 23:51:49 +0000 (09:51 +1000)
committerDavid Crawshaw <david.crawshaw@zentus.com>
Mon, 29 Sep 2014 23:51:49 +0000 (09:51 +1000)
commit5368e63b57f742495fcbbb82bb15772b761004bf
treebeefa9d52609b216ad7e90c64fa02909c4f4c9e8
parent3df578012630da82c093ac995913ed5e857edb74
x509: add root certs for android.

On android, root certificates appear to be stored in the folder
/system/etc/security/cacerts, which has many certs in several
different files. This change adds a new array of directories in
which certs can be found.

To test this, I simply tried making a request with the http
library to an HTTPS URL on an android emulator and manually
verified that it worked.

LGTM=crawshaw
R=golang-codereviews, gobot, crawshaw
CC=golang-codereviews
https://golang.org/cl/151800043
src/crypto/x509/root_unix.go