Do not assume OSCertHandle is OpenSSL's X509 structure.

Instead create a X509Certificate instance from the OpenSSL 
chain via PeerCertificateChain, and compare with the existing
X509Certificate.

BUG=none

Review URL: https://codereview.chromium.org/203323004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258337 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed