• Adam Langley's avatar
    crypto/x509, crypto/tls: improve root matching and observe CA flag. · 8e5f673d
    Adam Langley authored
    The key/value format of X.500 names means that it's possible to encode
    a name with multiple values for, say, organisation. RFC5280
    doesn't seem to consider this, but there are Verisign root
    certificates which do this and, in order to find the correct
    root certificate in some cases, we need to handle it.
    
    Also, CA certificates should set the CA flag and we now check
    this. After looking at the other X.509 extensions it appears
    that they are universally ignored/bit rotted away so we ignore
    them.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/2249042
    8e5f673d
Name
Last commit
Last update
..
aes Loading commit data...
block Loading commit data...
blowfish Loading commit data...
hmac Loading commit data...
md4 Loading commit data...
md5 Loading commit data...
ocsp Loading commit data...
rand Loading commit data...
rc4 Loading commit data...
ripemd160 Loading commit data...
rsa Loading commit data...
sha1 Loading commit data...
sha256 Loading commit data...
sha512 Loading commit data...
subtle Loading commit data...
tls Loading commit data...
x509 Loading commit data...
xtea Loading commit data...