Index: chrome/browser/ssl/ssl_client_auth_handler_mac.mm |
diff --git a/chrome/browser/ssl/ssl_client_auth_handler_mac.mm b/chrome/browser/ssl/ssl_client_auth_handler_mac.mm |
index 6908074d279cd0b54dd6d75b3504ad255471357d..cde8acc9aff05503dd56bb222845b17c981308cc 100644 |
--- a/chrome/browser/ssl/ssl_client_auth_handler_mac.mm |
+++ b/chrome/browser/ssl/ssl_client_auth_handler_mac.mm |
@@ -10,6 +10,7 @@ |
#include "base/scoped_cftyperef.h" |
#include "base/scoped_nsobject.h" |
#include "base/string_util.h" |
+#include "base/sys_string_conversions.h" |
#include "chrome/browser/chrome_thread.h" |
#include "grit/generated_resources.h" |
#include "net/base/x509_certificate.h" |
@@ -38,6 +39,9 @@ void SSLClientAuthHandler::DoSelectCertificate() { |
// Create and set up a system choose-identity panel. |
scoped_nsobject<SFChooseIdentityPanel> panel ( |
[[SFChooseIdentityPanel alloc] init]); |
+ NSString* domain = base::SysUTF8ToNSString( |
+ "https://" + cert_request_info_->host_and_port); |
+ [panel setDomain:domain]; |
wtc
2010/02/24 01:44:51
Does this call SecIdentitySetPreference under the
|
[panel setInformativeText:message]; |
[panel setAlternateButtonTitle:l10n_util::GetNSString(IDS_CANCEL)]; |
SecPolicyRef sslPolicy; |