commit | 0d0c142a92ce08a4a205aeaa8e218e30915b6ab7 | [log] [tgz] |
---|---|---|
author | Matt Mueller <[email protected]> | Thu Sep 07 18:08:38 2017 |
committer | Commit Bot <[email protected]> | Thu Sep 07 18:08:38 2017 |
tree | f01e1a9c698cec079c0e5b5f4e8db02431c46a04 | |
parent | 61d8f1c8c17afa0dfe0a1748ac4b73a46a887fe0 [diff] [blame] |
Make ChromeOS certificate code use NSS types directly. Bug: 671420, 736159 Change-Id: Ic480cf5dedc644294b4f11737f3f151243febce6 Reviewed-on: https://chromium-review.googlesource.com/621489 Reviewed-by: Lei Zhang <[email protected]> Reviewed-by: Steven Bennetts <[email protected]> Reviewed-by: David Benjamin <[email protected]> Commit-Queue: Matt Mueller <[email protected]> Cr-Commit-Position: refs/heads/master@{#500334}
diff --git a/chrome/browser/certificate_manager_model.cc b/chrome/browser/certificate_manager_model.cc index 1cf49d7..c9e9c827 100644 --- a/chrome/browser/certificate_manager_model.cc +++ b/chrome/browser/certificate_manager_model.cc
@@ -210,8 +210,8 @@ x509_certificate_model::GetSerialNumberHexified(cert, std::string())); break; case COL_EXPIRES_ON: { - base::Time not_before, not_after; - if (net::x509_util::GetValidityTimes(cert, ¬_before, ¬_after)) + base::Time not_after; + if (net::x509_util::GetValidityTimes(cert, nullptr, ¬_after)) rv = base::TimeFormatShortDateNumeric(not_after); break; }