• John Shahid's avatar
    crypto/tls: Check all certificates in the path. · ca986a2c
    John Shahid authored
    Currently we only check the leaf node's issuer against the list of
    distinguished names in the server's CertificateRequest message. This
    will fail if the client certiciate has more than one certificate in
    the path and the leaf node issuer isn't in the list of distinguished
    names, but the issuer's issuer was in the distinguished names.
    
    R=agl, agl
    CC=gobot, golang-dev
    https://golang.org/cl/9795043
    ca986a2c
handshake_client_test.go 86.7 KB