update documentation a little

This commit is contained in:
Miek Gieben 2012-06-04 13:22:52 +02:00
parent 96076ad9a1
commit aa238226e2
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ func TrustAnchorString(t []*TrustAnchor) string {
return string(b)
}
// ReadTrustAnchor read a root trust anchor from: http://data.iana.org/root-anchors/root-anchors.xml
// and return the data or an error.
// ReadTrustAnchor reads a root trust anchor from: http://data.iana.org/root-anchors/root-anchors.xml
// and returns the data or an error.
func ReadTrustAnchor(q io.Reader) ([]*TrustAnchor, error) {
d := xml.NewDecoder(q)
t := new(XMLTrustAnchor)