• davidben's avatar
    Only use the platform cert in verification in SSLClientSocketOpenSSL. · 30798ed8
    davidben authored
    Align with SSLClientSocketNSS's behavior around the PeerCertificate object.
    Within the sandbox for Chromoting, the platform certificate may be unavailable
    while the SSL-layer certificate is. Match NSS in using the SSL-layer
    certificate for many operations. Also check appropriately for the platform
    certificate being NULL in DoVerifyCert rather than simply crashing.
    
    BUG=414315
    TEST=Install Chromoting app. Connecting to another computer works.
    
    Review URL: https://codereview.chromium.org/576233002
    
    Cr-Commit-Position: refs/heads/master@{#295764}
    30798ed8
x509_certificate_openssl.cc 14 KB