diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 11:50:20 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 11:50:20 +0000 |
commit | f954b6eba1140524c85d9933145249fdb6b71522 (patch) | |
tree | 71e29794a5ad50896bcd29c611caa7cd12018e36 /net | |
parent | fce943e42716ee55f772dc3a4f53171a78224cbd (diff) | |
download | chromium_src-f954b6eba1140524c85d9933145249fdb6b71522.zip chromium_src-f954b6eba1140524c85d9933145249fdb6b71522.tar.gz chromium_src-f954b6eba1140524c85d9933145249fdb6b71522.tar.bz2 |
Fix incorrect constant used in status bitmask
Turns out the test passes OK (given access to java side pieces, failure of which this bug masks)
BUG=109783
TEST=
Review URL: http://codereview.chromium.org/9187007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/x509_certificate_openssl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/x509_certificate_openssl.cc b/net/base/x509_certificate_openssl.cc index 29a475d..fb25f3c 100644 --- a/net/base/x509_certificate_openssl.cc +++ b/net/base/x509_certificate_openssl.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -547,7 +547,7 @@ int X509Certificate::VerifyInternal(const std::string& hostname, break; case android::VERIFY_INVOCATION_ERROR: default: - verify_result->cert_status |= ERR_CERT_INVALID; + verify_result->cert_status |= CERT_STATUS_INVALID; break; } if (IsCertStatusError(verify_result->cert_status)) |