Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: net/base/x509_certificate_nss.cc

Issue 10160007: Parse an application/x-x509-user-cert response with (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add back a blank line deleted by accident Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/base/cert_database_nss.cc ('K') | « net/base/cert_database_nss.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/x509_certificate_nss.cc
===================================================================
--- net/base/x509_certificate_nss.cc (revision 133822)
+++ net/base/x509_certificate_nss.cc (working copy)
@@ -191,6 +191,8 @@
if (temp_username) {
username = temp_username;
PORT_Free(temp_username);
+ } else {
+ username = CERT_GetFirstEmailAddress(cert_handle_);
}
if (temp_ca_name) {
ca_name = temp_ca_name;
« net/base/cert_database_nss.cc ('K') | « net/base/cert_database_nss.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698