Only use the platform cert in verification in SSLClientSocketOpenSSL.
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}
Showing
Please register or sign in to comment