• Adam Langley's avatar
    crypto/x509: prevent chain cycles in Verify · d1d466f6
    Adam Langley authored
    It's possible to include a self-signed root certificate as an
    intermediate and push Verify into a loop.
    
    I already had a test for this so I thought that it was ok, but it
    turns out that the test was void because the Verisign root certificate
    doesn't contain the "IsCA" flag and so it wasn't an acceptable
    intermediate certificate for that reason.
    
    R=bradfitz
    CC=golang-dev
    https://golang.org/cl/4657080
    d1d466f6
Name
Last commit
Last update
..
aes Loading commit data...
blowfish Loading commit data...
cast5 Loading commit data...
cipher Loading commit data...
des Loading commit data...
dsa Loading commit data...
ecdsa Loading commit data...
elliptic Loading commit data...
hmac Loading commit data...
md4 Loading commit data...
md5 Loading commit data...
ocsp Loading commit data...
openpgp 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...
twofish Loading commit data...
x509 Loading commit data...
xtea Loading commit data...
Makefile Loading commit data...
crypto.go Loading commit data...