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

Unified Diff: crypto/rsa_private_key_nss.cc

Issue 36593002: crypto/nss_util: Get TPM slot id, do lookup by id instead of by name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sandbox debugging crap Created 7 years, 2 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
Index: crypto/rsa_private_key_nss.cc
diff --git a/crypto/rsa_private_key_nss.cc b/crypto/rsa_private_key_nss.cc
index 35697abb4e721ed7fe14f0022cab16469b2676f1..7e8705f8fdc1066d87f48bc3ca0d568e055a1a9b 100644
--- a/crypto/rsa_private_key_nss.cc
+++ b/crypto/rsa_private_key_nss.cc
@@ -99,6 +99,7 @@ RSAPrivateKey* RSAPrivateKey::CreateFromKey(SECKEYPrivateKey* key) {
// static
RSAPrivateKey* RSAPrivateKey::FindFromPublicKeyInfo(
const std::vector<uint8>& input) {
+ LOG(ERROR) << "HIIIIIIIIIIIIIIIIIIIIIIIIIII";
EnsureNSSInit();
scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey);
@@ -196,6 +197,7 @@ bool RSAPrivateKey::ExportPublicKey(std::vector<uint8>* output) const {
}
RSAPrivateKey::RSAPrivateKey() : key_(NULL), public_key_(NULL) {
+ LOG(ERROR) << "HIIIIIIIIIIIIIIIIIIIIIIIIIII";
EnsureNSSInit();
}
@@ -210,6 +212,7 @@ RSAPrivateKey* RSAPrivateKey::CreateWithParams(uint16 num_bits,
}
#endif
+ LOG(ERROR) << "HIIIIIIIIIIIIIIIIIIIIIIIIIII";
EnsureNSSInit();
scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey);
@@ -248,6 +251,7 @@ RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfoWithParams(
// This method currently leaks some memory.
// See http://crbug.com/34742.
ANNOTATE_SCOPED_MEMORY_LEAK;
+ LOG(ERROR) << "HIIIIIIIIIIIIIIIIIIIIIIIIIII";
EnsureNSSInit();
scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey);

Powered by Google App Engine
This is Rietveld 408576698