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, &not_before, &not_after))
+      base::Time not_after;
+      if (net::x509_util::GetValidityTimes(cert, nullptr, &not_after))
         rv = base::TimeFormatShortDateNumeric(not_after);
       break;
     }