• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...