Commit a642e33d authored by joth@chromium.org's avatar joth@chromium.org

Fix redux build

Add (unimplemented) crl_set param

BUG=None
TEST=linux_redux goes green

Review URL: http://codereview.chromium.org/8394008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107180 0039d316-1c4b-4281-b951-d872f2087c98
parent 0d7b779f
...@@ -428,6 +428,7 @@ X509_STORE* X509Certificate::cert_store() { ...@@ -428,6 +428,7 @@ X509_STORE* X509Certificate::cert_store() {
int X509Certificate::VerifyInternal(const std::string& hostname, int X509Certificate::VerifyInternal(const std::string& hostname,
int flags, int flags,
CRLSet* crl_set,
CertVerifyResult* verify_result) const { CertVerifyResult* verify_result) const {
if (!VerifyNameMatch(hostname)) if (!VerifyNameMatch(hostname))
verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID;
......
...@@ -14,6 +14,7 @@ namespace net { ...@@ -14,6 +14,7 @@ namespace net {
int X509Certificate::VerifyInternal(const std::string& hostname, int X509Certificate::VerifyInternal(const std::string& hostname,
int flags, int flags,
CRLSet* crl_set,
CertVerifyResult* verify_result) const { CertVerifyResult* verify_result) const {
if (!VerifyNameMatch(hostname)) if (!VerifyNameMatch(hostname))
verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID;
......
...@@ -836,6 +836,7 @@ int SSLClientSocketOpenSSL::DoVerifyCert(int result) { ...@@ -836,6 +836,7 @@ int SSLClientSocketOpenSSL::DoVerifyCert(int result) {
verifier_.reset(new SingleRequestCertVerifier(cert_verifier_)); verifier_.reset(new SingleRequestCertVerifier(cert_verifier_));
return verifier_->Verify( return verifier_->Verify(
server_cert_, host_and_port_.host(), flags, server_cert_, host_and_port_.host(), flags,
NULL /* no CRL set */,
&server_cert_verify_result_, &server_cert_verify_result_,
base::Bind(&SSLClientSocketOpenSSL::OnHandshakeIOComplete, base::Bind(&SSLClientSocketOpenSSL::OnHandshakeIOComplete,
base::Unretained(this)), base::Unretained(this)),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment