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

Unified Diff: net/ssl/ssl_platform_key_mac.cc

Issue 2565843002: Add missing logging codepaths for client certificate lookup. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | net/ssl/ssl_platform_key_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_mac.cc
diff --git a/net/ssl/ssl_platform_key_mac.cc b/net/ssl/ssl_platform_key_mac.cc
index 439e06b5a6d8fe77c48e0f9f9b4942401938fdc0..4000c61496450ac4f1621f3f140084b35b5d09f5 100644
--- a/net/ssl/ssl_platform_key_mac.cc
+++ b/net/ssl/ssl_platform_key_mac.cc
@@ -221,8 +221,10 @@ scoped_refptr<SSLPrivateKey> FetchClientCertPrivateKey(
const CSSM_KEY* cssm_key;
OSStatus status = SecKeyGetCSSMKey(private_key.get(), &cssm_key);
- if (status != noErr)
+ if (status != noErr) {
+ OSSTATUS_LOG(WARNING, status);
return nullptr;
+ }
SSLPrivateKey::Type key_type;
size_t max_length;
« no previous file with comments | « no previous file | net/ssl/ssl_platform_key_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698